1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Implementation of an experimental cache manager.

git-svn-id: file:///svn/phpbb/trunk@3312 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-01-11 22:56:49 +00:00
parent d7e485e5f6
commit 85b196b5fe
10 changed files with 399 additions and 104 deletions

View File

@@ -467,16 +467,10 @@ if (isset($post))
// post counts for index, etc.
if ($mode == 'post')
{
$sql = 'UPDATE ' . CONFIG_TABLE . "
SET config_value = '" . ($config['num_topics'] + 1) . "'
WHERE config_name = 'num_topics'";
$db->sql_query($sql);
set_config('num_topics', $config['num_topics'] + 1);
}
$sql = 'UPDATE ' . CONFIG_TABLE . "
SET config_value = '" . ($config['num_posts'] + 1) . "'
WHERE config_name = 'num_posts'";
$db->sql_query($sql);
set_config('num_posts', $config['num_posts'] + 1);
}
// Topic notification