1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 15:27:42 +02:00

Merge pull request #6206 from marc1706/ticket/13713

[ticket/13713] User Mentions
This commit is contained in:
Máté Bartus
2021-05-23 17:49:33 +02:00
committed by GitHub
61 changed files with 3449 additions and 35 deletions

View File

@@ -2443,6 +2443,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll_ary, &$data
{
case 'post':
$phpbb_notifications->add_notifications(array(
'notification.type.mention',
'notification.type.quote',
'notification.type.topic',
), $notification_data);
@@ -2451,6 +2452,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll_ary, &$data
case 'reply':
case 'quote':
$phpbb_notifications->add_notifications(array(
'notification.type.mention',
'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',
@@ -2465,6 +2467,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll_ary, &$data
if ($user->data['user_id'] == $poster_id)
{
$phpbb_notifications->update_notifications(array(
'notification.type.mention',
'notification.type.quote',
), $notification_data);
}