aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-21 00:44:05 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-21 00:44:05 +0200
commit31aac66f5aca218254a6ff199c21a282bc6059bc (patch)
tree5237ffca00a3f41fd892398f41aa3b3203ce138a /phpBB/includes/functions_admin.php
parent421005b28208e91c236a84500f2799a9f6033a03 (diff)
parent71f78fb8c6167f33e9e650f97243099fc2bf9a4f (diff)
downloadforums-31aac66f5aca218254a6ff199c21a282bc6059bc.tar
forums-31aac66f5aca218254a6ff199c21a282bc6059bc.tar.gz
forums-31aac66f5aca218254a6ff199c21a282bc6059bc.tar.bz2
forums-31aac66f5aca218254a6ff199c21a282bc6059bc.tar.xz
forums-31aac66f5aca218254a6ff199c21a282bc6059bc.zip
Merge pull request #2885 from Nicofuma/ticket/12990
[ticket/12990] Use the full services name for the notification's types
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index accc8a6a83..f5c1725036 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -722,9 +722,9 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
$phpbb_notifications = $phpbb_container->get('notification_manager');
$phpbb_notifications->delete_notifications(array(
- 'topic',
- 'approve_topic',
- 'topic_in_queue',
+ 'notification.type.topic',
+ 'notification.type.approve_topic',
+ 'notification.type.topic_in_queue',
), $topic_ids);
return $return;
@@ -739,9 +739,9 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
// Notifications types to delete
$delete_notifications_types = array(
- 'quote',
- 'approve_post',
- 'post_in_queue',
+ 'notification.type.quote',
+ 'notification.type.approve_post',
+ 'notification.type.post_in_queue',
);
/**