1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

Merge branch 'ticket/11103' of github.com:EXreaction/phpbb3 into ticket/11103

This commit is contained in:
Nathan Guse
2012-12-15 18:25:51 -06:00
12 changed files with 777 additions and 48 deletions

View File

@@ -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 . "