aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-11 12:28:14 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:19 +0200
commit92db22c8827abfad8615b0537fdc6fd89ab4203f (patch)
treea1d2e6357844c3f209e43ba074ecf46c9eb0f8bd /phpBB/includes/functions_admin.php
parente0fadfb4d675df71b359b5d64b614051dda4017e (diff)
downloadforums-92db22c8827abfad8615b0537fdc6fd89ab4203f.tar
forums-92db22c8827abfad8615b0537fdc6fd89ab4203f.tar.gz
forums-92db22c8827abfad8615b0537fdc6fd89ab4203f.tar.bz2
forums-92db22c8827abfad8615b0537fdc6fd89ab4203f.tar.xz
forums-92db22c8827abfad8615b0537fdc6fd89ab4203f.zip
[ticket/12371] Do not delete post related notifications when a post is deleted
When a post is marked edited and therefor marked as softdeleted/unapproved, we should not delete the notifications, just like we can't delete the emails. Links are out there anyway and just keeping the notification is fail save. If we keep the notification we can just continue to update it when more posts are added. Also when we delete a post, we don't have to go though the table and find all related notifications to be able to delete them or even update them, when they have responders set. PHPBB3-12371
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index d72f89b6ac..01cba10b40 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -736,8 +736,6 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
// Notifications types to delete
$delete_notifications_types = array(
'quote',
- 'bookmark',
- 'post',
'approve_post',
'post_in_queue',
);