]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remember to blow cache when creating a new group
authorEvan Prodromou <evan@status.net>
Sun, 10 Apr 2011 23:17:44 +0000 (19:17 -0400)
committerEvan Prodromou <evan@status.net>
Sun, 10 Apr 2011 23:17:44 +0000 (19:17 -0400)
classes/User_group.php

index e993961118e355afc08f9580437b98db26ea99f2..75de535bd139d6ca058bf7f020d3d786555b7bbb 100644 (file)
@@ -573,6 +573,8 @@ class User_group extends Memcached_DataObject
                 throw new ServerException(_('Could not set group membership.'));
             }
 
+            self::blow('profile:groups:%d', $userid);
+            
             if ($local) {
                 $local_group = new Local_group();