remember to blow cache when creating a new group

This commit is contained in:
Evan Prodromou 2011-04-10 19:17:44 -04:00
parent 543567e6d5
commit 91e5a72609

View File

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