mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
869637d544
1 changed files with 1 additions and 0 deletions
|
@ -1274,6 +1274,7 @@ function delete_post($forum_id, $topic_id, $post_id, &$data, $is_soft = false, $
|
||||||
delete_topics('topic_id', array($topic_id), false);
|
delete_topics('topic_id', array($topic_id), false);
|
||||||
|
|
||||||
$phpbb_content_visibility->remove_topic_from_statistic($data, $sql_data);
|
$phpbb_content_visibility->remove_topic_from_statistic($data, $sql_data);
|
||||||
|
$config->increment('num_posts', -1, false);
|
||||||
|
|
||||||
$update_sql = update_post_information('forum', $forum_id, true);
|
$update_sql = update_post_information('forum', $forum_id, true);
|
||||||
if (count($update_sql))
|
if (count($update_sql))
|
||||||
|
|
Loading…
Add table
Reference in a new issue