aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 18:10:07 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 18:10:07 +0000
commit729e4ac72dcfb8afd8b5ea29d1466105c7e9b761 (patch)
treecc1d4701e6187669672164b0e426e88db859818a /mod/groups
parent2d6f4802b2eb2f4e92c0ad7fc8d4b4204b57ea3e (diff)
downloadelgg-729e4ac72dcfb8afd8b5ea29d1466105c7e9b761.tar.gz
elgg-729e4ac72dcfb8afd8b5ea29d1466105c7e9b761.tar.bz2
You should no longer get notified of your own topic posts.
git-svn-id: https://code.elgg.org/elgg/trunk@2906 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 62e786f6f..f9ea4f404 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -126,7 +126,7 @@
$entity = $params['entity'];
$to_entity = $params['to_entity'];
$method = $params['method'];
- if (($entity instanceof ElggEntity) && ($entity->getSubtype() == 'groupforumtopic'))
+ if (($entity instanceof ElggEntity) && ($to_entity->guid != $entity->owner_guid) && ($entity->getSubtype() == 'groupforumtopic'))
{
$descr = $entity->description;