mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11103] More cleanup
PHPBB3-11103
This commit is contained in:
parent
a811e65147
commit
b60ae30b02
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue