mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
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()`
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user