aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-01 17:52:39 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-01 17:52:39 -0400
commitc1621c3c385f366f553198fcc1d501b55405baed (patch)
tree4915a4f952d063ee9b4f86b5ed183609692c4382 /mod/groups
parentd547dd1136ba7142e62f95398fb8af69d0495334 (diff)
downloadelgg-c1621c3c385f366f553198fcc1d501b55405baed.tar.gz
elgg-c1621c3c385f366f553198fcc1d501b55405baed.tar.bz2
Refs #4642 need to filter annotations by name
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index d85bb6492..193b72a4e 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -943,6 +943,10 @@ function discussion_create_reply_notification($hook, $type, $message, $params) {
function discussion_reply_notifications($event, $type, $annotation) {
global $CONFIG, $NOTIFICATION_HANDLERS;
+ if ($annotation->name !== 'group_topic_post') {
+ return;
+ }
+
// Have we registered notifications for this type of entity?
$object_type = 'object';
$object_subtype = 'groupforumtopic';