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

[ticket/11103] Allow notification types to override update functionality

This is needed for quote editing because we need to check if the users
are still all quoted or notify new quotes appropriately.

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-09-14 14:55:14 -05:00
parent 207bbdf48c
commit 44aa773ce0
6 changed files with 92 additions and 10 deletions

View File

@@ -2256,7 +2256,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
$notifications->update_notifications('post', array_merge($data, array(
'post_username' => $username,
)));
$notifications->add_notifications('quote', array_merge($data, array(
$notifications->update_notifications('quote', array_merge($data, array(
'post_username' => $username,
)));
break;