diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2015-02-03 18:13:20 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2015-02-03 18:13:20 +0100 |
| commit | 284aa8c496d658c196a0dfa3c90657415ee4c2ee (patch) | |
| tree | 6ea6f60315c6ac672b194ea0e22288d77d7f9815 /phpBB/includes/mcp/mcp_main.php | |
| parent | 3fb6d5b838c33dc31563de7febbe827647f85abc (diff) | |
| parent | a633f3484c63fe4bd70df548b3ae4bd569bdef46 (diff) | |
| download | forums-284aa8c496d658c196a0dfa3c90657415ee4c2ee.tar forums-284aa8c496d658c196a0dfa3c90657415ee4c2ee.tar.gz forums-284aa8c496d658c196a0dfa3c90657415ee4c2ee.tar.bz2 forums-284aa8c496d658c196a0dfa3c90657415ee4c2ee.tar.xz forums-284aa8c496d658c196a0dfa3c90657415ee4c2ee.zip | |
Merge pull request #3281 from MGaetan89/ticket/13496
[ticket/13496] Change set_config_count() calls with $config->increment()
* MGaetan89/ticket/13496:
[ticket/13496] Update calls to `set_config_count()`
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
| -rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 8403c3588e..8bf6bf8c0c 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1516,8 +1516,8 @@ function mcp_fork_topic($topic_ids) sync('topic', 'topic_id', $new_topic_id_list); sync('forum', 'forum_id', $to_forum_id); - set_config_count('num_topics', sizeof($new_topic_id_list), true); - set_config_count('num_posts', $total_posts, true); + $config->increment('num_topics', sizeof($new_topic_id_list), false); + $config->increment('num_posts', $total_posts, false); foreach ($new_topic_id_list as $topic_id => $new_topic_id) { |
