aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-12-15 18:25:51 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2012-12-15 18:25:51 -0600
commitc9ca7051491143e3c0da43663e85b60e18c6740e (patch)
treeec10169c1d5737f2e48eac0f6997fd6e55716049 /phpBB/includes/notification
parentd0375c46f91eb88508cbd8e320c7eda78d4f01dd (diff)
parent95bd4d73eb41d677470b0bf77c521ae2a9bb731e (diff)
downloadforums-c9ca7051491143e3c0da43663e85b60e18c6740e.tar
forums-c9ca7051491143e3c0da43663e85b60e18c6740e.tar.gz
forums-c9ca7051491143e3c0da43663e85b60e18c6740e.tar.bz2
forums-c9ca7051491143e3c0da43663e85b60e18c6740e.tar.xz
forums-c9ca7051491143e3c0da43663e85b60e18c6740e.zip
Merge branch 'ticket/11103' of github.com:EXreaction/phpbb3 into ticket/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 fee1d079aa..90916401c0 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 . "