aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-12-15 10:33:03 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2012-12-15 10:33:03 -0600
commit95bd4d73eb41d677470b0bf77c521ae2a9bb731e (patch)
tree13ec1309a09b7047d343dba443872b57909091d5 /phpBB/includes/notification
parent418988495ba4342e07a38eeffcdf309021b8e727 (diff)
downloadforums-95bd4d73eb41d677470b0bf77c521ae2a9bb731e.tar
forums-95bd4d73eb41d677470b0bf77c521ae2a9bb731e.tar.gz
forums-95bd4d73eb41d677470b0bf77c521ae2a9bb731e.tar.bz2
forums-95bd4d73eb41d677470b0bf77c521ae2a9bb731e.tar.xz
forums-95bd4d73eb41d677470b0bf77c521ae2a9bb731e.zip
[ticket/11103] Mark topic/post subscription notification read when approved
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notification')
-rw-r--r--phpBB/includes/notification/manager.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/phpBB/includes/notification/manager.php b/phpBB/includes/notification/manager.php
index 653446ab73..6bf97a3e71 100644
--- a/phpBB/includes/notification/manager.php
+++ b/phpBB/includes/notification/manager.php
@@ -226,16 +226,6 @@ class phpbb_notification_manager
*/
public function mark_notifications_read($item_type, $item_id, $user_id, $time = false)
{
- if (is_array($item_type))
- {
- foreach ($item_type as $type)
- {
- $this->mark_notifications_read($type, $item_id, $user_id, $time);
- }
-
- return;
- }
-
$time = ($time !== false) ? $time : time();
$sql = 'UPDATE ' . $this->notifications_table . "