aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-09-12 23:55:29 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-09-12 23:55:29 -0500
commit207bbdf48cb05abfb611f238e4ba07131131c74d (patch)
tree60b50f8f78765643ba85ad45151e495b52e83ca4 /phpBB/includes/functions_posting.php
parent97fde62b1470f04da17335674bceab3360542e3e (diff)
downloadforums-207bbdf48cb05abfb611f238e4ba07131131c74d.tar
forums-207bbdf48cb05abfb611f238e4ba07131131c74d.tar.gz
forums-207bbdf48cb05abfb611f238e4ba07131131c74d.tar.bz2
forums-207bbdf48cb05abfb611f238e4ba07131131c74d.tar.xz
forums-207bbdf48cb05abfb611f238e4ba07131131c74d.zip
[ticket/11103] Quote notifications
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 64840bfa51..ff0a59a4e3 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2230,6 +2230,9 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
$notifications->add_notifications('topic', array_merge($data, array(
'post_username' => $username,
)));
+ $notifications->add_notifications('quote', array_merge($data, array(
+ 'post_username' => $username,
+ )));
break;
case 'reply' :
@@ -2237,6 +2240,9 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
$notifications->add_notifications('post', array_merge($data, array(
'post_username' => $username,
)));
+ $notifications->add_notifications('quote', array_merge($data, array(
+ 'post_username' => $username,
+ )));
break;
case 'edit_topic' :
@@ -2250,6 +2256,9 @@ 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(
+ 'post_username' => $username,
+ )));
break;
}
}