From: Evan Prodromou Date: Wed, 13 Jan 2010 08:47:12 +0000 (-0800) Subject: repeats don't get posted to groups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8bfa7fdeaf85091907e5c0c9f181655a9a5dcdf5;p=quix0rs-gnu-social.git repeats don't get posted to groups --- diff --git a/classes/Notice.php b/classes/Notice.php index d651ef80ed..f48e77c1d2 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 */