Re-enabled fully dynamic config settings.

git-svn-id: file:///svn/phpbb/trunk@3361 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-01-22 20:52:09 +00:00
parent 644735d9ac
commit bbc49787b4
2 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@
*
***************************************************************************/
function set_config($config_name, $config_value, $is_dynamic = TRUE)
function set_config($config_name, $config_value, $is_dynamic = FALSE)
{
global $db, $cache, $config;

View file

@ -488,15 +488,15 @@ if (isset($_REQUEST['post']))
WHERE user_id = ' . $user->data['user_id'];
$db->sql_query($sql);
}
/*
// post counts for index, etc.
if ($mode == 'post')
{
set_config('num_topics', $config['num_topics'] + 1);
set_config('num_topics', $config['num_topics'] + 1, TRUE);
}
set_config('num_posts', $config['num_posts'] + 1);
*/ }
set_config('num_posts', $config['num_posts'] + 1, TRUE);
}
// Topic notification
if (!empty($notify) && ($mode == 'post' || empty($notify_set)))