summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-13 00:47:12 -0800
committerEvan Prodromou <evan@status.net>2010-01-13 00:47:12 -0800
commit8bfa7fdeaf85091907e5c0c9f181655a9a5dcdf5 (patch)
treee1ae10f793aa7bd6446ccbad1533bd38d93f1508
parent5397249e505b6e82c814c2a7ce5bc1bfaad2adf3 (diff)
repeats don't get posted to groups
-rw-r--r--classes/Notice.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index d651ef80e..f48e77c1d 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -919,6 +919,12 @@ class Notice extends Memcached_DataObject
function saveGroups()
{
+ // Don't save groups for repeats
+
+ if (!empty($this->repeat_of)) {
+ return array();
+ }
+
$groups = array();
/* extract all !group */