aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-01-22 20:52:09 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-01-22 20:52:09 +0000
commitbbc49787b4efd62ce5904af572eb336758416140 (patch)
treec06b1e4025dbaf1de32c58307657e54b2c2e674e /phpBB/posting.php
parent644735d9acd2f4df2f510da733daa04c88ef81e6 (diff)
downloadforums-bbc49787b4efd62ce5904af572eb336758416140.tar
forums-bbc49787b4efd62ce5904af572eb336758416140.tar.gz
forums-bbc49787b4efd62ce5904af572eb336758416140.tar.bz2
forums-bbc49787b4efd62ce5904af572eb336758416140.tar.xz
forums-bbc49787b4efd62ce5904af572eb336758416140.zip
Re-enabled fully dynamic config settings.
git-svn-id: file:///svn/phpbb/trunk@3361 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index f511f0d894..2ad4d73d08 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -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)))