1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

[feature/soft-delete] Allow to update multiple posts with set_post_visibility

PHPBB3-9567
This commit is contained in:
Joas Schilling
2012-10-08 15:01:20 +02:00
parent 25804eb8e8
commit c525e900d3
2 changed files with 11 additions and 6 deletions

View File

@@ -1629,8 +1629,6 @@ function delete_post($forum_id, $topic_id, $post_id, &$data, $is_soft = false, $
}
}
// $sql_data[USERS_TABLE] = ($data['post_postcount']) ? 'user_posts = user_posts - 1' : '';
$db->sql_transaction('begin');
$where_sql = array(