aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-11 18:01:52 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-02-02 21:52:59 +0100
commita633f3484c63fe4bd70df548b3ae4bd569bdef46 (patch)
tree84e22d369b32d520dad249a2e8b7a13394b0a108 /phpBB/includes/mcp/mcp_topic.php
parentMerge pull request #3280 from MGaetan89/ticket/13494 (diff)
downloadphpbb-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar.gz
phpbb-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar.bz2
phpbb-a633f3484c63fe4bd70df548b3ae4bd569bdef46.zip
[ticket/13496] Update calls to `set_config_count()`
PHPBB3-13496
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index d43594c564..0690ff89be 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -573,7 +573,7 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
$success_msg = 'TOPIC_SPLIT_SUCCESS';
// Update forum statistics
- set_config_count('num_topics', 1, true);
+ $config->increment('num_topics', 1, false);
// Link back to both topics
$return_link = sprintf($user->lang['RETURN_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $post_info['forum_id'] . '&amp;t=' . $post_info['topic_id']) . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_NEW_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $to_forum_id . '&amp;t=' . $to_topic_id) . '">', '</a>');