aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-14 17:01:08 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-14 17:01:08 -0500
commit8e977544fb6763412e45f84791de8c3eccf321c9 (patch)
tree86a3101c9ef934f7358b22f9d6fd40afb6e98503 /phpBB/includes/functions_admin.php
parented1ec8e720a7ec3c1270cd631cc37e531f315f26 (diff)
downloadforums-8e977544fb6763412e45f84791de8c3eccf321c9.tar
forums-8e977544fb6763412e45f84791de8c3eccf321c9.tar.gz
forums-8e977544fb6763412e45f84791de8c3eccf321c9.tar.bz2
forums-8e977544fb6763412e45f84791de8c3eccf321c9.tar.xz
forums-8e977544fb6763412e45f84791de8c3eccf321c9.zip
[ticket/11103] Normalization of $phpbb_notifications variable name
Use $phpbb_notifications instead of $notifications everywhere for consistency and conflict prevention. PHPBB3-11103
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 6845ae14e3..1cbd44e97e 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -717,8 +717,8 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
}
// Delete notifications
- $notifications = $phpbb_container->get('notifications');
- $notifications->delete_notifications('topic', $topic_ids);
+ $phpbb_notifications = $phpbb_container->get('notifications');
+ $phpbb_notifications->delete_notifications('topic', $topic_ids);
return $return;
}
@@ -899,8 +899,8 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
}
// Delete notifications
- $notifications = $phpbb_container->get('notifications');
- $notifications->delete_notifications('post', $post_ids);
+ $phpbb_notifications = $phpbb_container->get('notifications');
+ $phpbb_notifications->delete_notifications('post', $post_ids);
return sizeof($post_ids);
}