1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-06 04:31:38 +02:00

[ticket/13713] Introduce notifications for mentions

PHPBB3-13713
This commit is contained in:
lavigor
2018-06-08 13:18:44 +03:00
committed by Marc Alexander
parent 9eef103e75
commit c70ac7eb62
10 changed files with 245 additions and 2 deletions

View File

@@ -575,6 +575,7 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
// Mark all topic notifications read for this user
$phpbb_notifications->mark_notifications(array(
'notification.type.topic',
'notification.type.mention',
'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',
@@ -660,6 +661,7 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
$db->sql_freeresult($result);
$phpbb_notifications->mark_notifications_by_parent(array(
'notification.type.mention',
'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',
@@ -771,6 +773,7 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
), $topic_id, $user->data['user_id'], $post_time);
$phpbb_notifications->mark_notifications_by_parent(array(
'notification.type.mention',
'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',