diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-14 17:01:08 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-14 17:01:08 -0500 |
commit | 8e977544fb6763412e45f84791de8c3eccf321c9 (patch) | |
tree | 86a3101c9ef934f7358b22f9d6fd40afb6e98503 /phpBB/includes/mcp | |
parent | ed1ec8e720a7ec3c1270cd631cc37e531f315f26 (diff) | |
download | forums-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/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 48557192d2..1373829ecf 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -634,19 +634,19 @@ function approve_post($post_id_list, $id, $mode) // Send out normal user notifications $email_sig = str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']); - $notifications = $phpbb_container->get('notifications'); + $phpbb_notifications = $phpbb_container->get('notifications'); foreach ($post_info as $post_id => $post_data) { if ($post_id == $post_data['topic_first_post_id'] && $post_id == $post_data['topic_last_post_id']) { // Forum Notifications - $notifications->add_notifications('topic', $post_data); + $phpbb_notifications->add_notifications('topic', $post_data); } else { // Topic Notifications - $notifications->add_notifications(array('quote', 'bookmark', 'post'), $post_data); + $phpbb_notifications->add_notifications(array('quote', 'bookmark', 'post'), $post_data); } } |