diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-18 18:32:13 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-18 18:32:13 -0500 |
commit | ae670cc87df197e44b768667b853e1dae3009b4d (patch) | |
tree | ba39c95e90ee469f29694b447f50d560b47142bc /phpBB/includes/functions_privmsgs.php | |
parent | 883a96172065b5eb7b07f7c6e19ff2b1d5079ef9 (diff) | |
download | forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.gz forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.bz2 forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.xz forums-ae670cc87df197e44b768667b853e1dae3009b4d.zip |
[ticket/11103] Remove unnecessary comments
Comments that are not needed because the actions are completely
self-explanatory
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r-- | phpBB/includes/functions_privmsgs.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 6c31c6d6c3..4638091601 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -878,7 +878,6 @@ function update_unread_status($unread, $msg_id, $user_id, $folder_id) global $db, $user, $phpbb_notifications; - // Mark the PM as read $phpbb_notifications->mark_notifications_read('pm', $msg_id, $user_id); $sql = 'UPDATE ' . PRIVMSGS_TO_TABLE . " @@ -1097,7 +1096,6 @@ function delete_pm($user_id, $msg_ids, $folder_id) $user->data['user_unread_privmsg'] -= $num_unread; } - // Delete Notifications $phpbb_notifications->delete_notifications('pm', array_keys($delete_rows)); // Now we have to check which messages we can delete completely @@ -1262,7 +1260,6 @@ function phpbb_delete_user_pms($user_id) AND ' . $db->sql_in_set('msg_id', $delivered_msg); $db->sql_query($sql); - // Delete Notifications $phpbb_notifications->delete_notifications('pm', $delivered_msg); } @@ -1276,7 +1273,6 @@ function phpbb_delete_user_pms($user_id) WHERE ' . $db->sql_in_set('msg_id', $undelivered_msg); $db->sql_query($sql); - // Delete Notifications $phpbb_notifications->delete_notifications('pm', $undelivered_msg); } } @@ -1321,7 +1317,6 @@ function phpbb_delete_user_pms($user_id) WHERE ' . $db->sql_in_set('msg_id', $delete_ids); $db->sql_query($sql); - // Delete Notifications $phpbb_notifications->delete_notifications('pm', $delete_ids); } } |