mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Re-enabled fully dynamic config settings.
git-svn-id: file:///svn/phpbb/trunk@3361 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
644735d9ac
commit
bbc49787b4
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
global $db, $cache, $config;
|
||||||
|
|
||||||
|
|
|
@ -488,15 +488,15 @@ if (isset($_REQUEST['post']))
|
||||||
WHERE user_id = ' . $user->data['user_id'];
|
WHERE user_id = ' . $user->data['user_id'];
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
// post counts for index, etc.
|
// post counts for index, etc.
|
||||||
if ($mode == 'post')
|
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
|
// Topic notification
|
||||||
if (!empty($notify) && ($mode == 'post' || empty($notify_set)))
|
if (!empty($notify) && ($mode == 'post' || empty($notify_set)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue