diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-01 17:52:39 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-01 17:52:39 -0400 |
commit | c1621c3c385f366f553198fcc1d501b55405baed (patch) | |
tree | 4915a4f952d063ee9b4f86b5ed183609692c4382 /mod | |
parent | d547dd1136ba7142e62f95398fb8af69d0495334 (diff) | |
download | elgg-c1621c3c385f366f553198fcc1d501b55405baed.tar.gz elgg-c1621c3c385f366f553198fcc1d501b55405baed.tar.bz2 |
Refs #4642 need to filter annotations by name
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/start.php | 4 |
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'; |