mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02:00
[ticket/11103] More cleanup
PHPBB3-11103
This commit is contained in:
parent
a811e65147
commit
b60ae30b02
@ -262,7 +262,7 @@ class phpbb_notification_manager
|
||||
return;
|
||||
}
|
||||
|
||||
$time = ($time) ?: time();
|
||||
$time = ($time !== false) ? $time : time();
|
||||
|
||||
$sql = 'UPDATE ' . NOTIFICATIONS_TABLE . "
|
||||
SET unread = 0
|
||||
@ -281,7 +281,7 @@ class phpbb_notification_manager
|
||||
*/
|
||||
public function mark_notifications_read_by_id($notification_id, $time = false)
|
||||
{
|
||||
$time = ($time) ?: time();
|
||||
$time = ($time !== false) ? $time : time();
|
||||
|
||||
$sql = 'UPDATE ' . NOTIFICATIONS_TABLE . "
|
||||
SET unread = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user