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/functions_privmsgs.php | |
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/functions_privmsgs.php')
-rw-r--r-- | phpBB/includes/functions_privmsgs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 133b6fc9bc..8545cc7ef5 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -879,8 +879,8 @@ function update_unread_status($unread, $msg_id, $user_id, $folder_id) global $db, $user, $phpbb_container; // Mark the PM as read - $notifications = $phpbb_container->get('notifications'); - $notifications->mark_notifications_read('pm', $msg_id, $user_id); + $phpbb_notifications = $phpbb_container->get('notifications'); + $phpbb_notifications->mark_notifications_read('pm', $msg_id, $user_id); $sql = 'UPDATE ' . PRIVMSGS_TO_TABLE . " SET pm_unread = 0 |