app/soc/logic/models/group.py
changeset 991 becede26c37f
parent 674 0158b11cbf6d
child 1106 e14b0995cf29
--- a/app/soc/logic/models/group.py	Sun Jan 25 16:50:24 2009 +0000
+++ b/app/soc/logic/models/group.py	Sun Jan 25 21:03:12 2009 +0000
@@ -22,6 +22,7 @@
   ]
 
 
+from soc.cache import sidebar
 from soc.logic.models import base
 
 import soc.models.group
@@ -91,5 +92,9 @@
 
     return True
 
+  def _onCreate(self, entity):
+    """Flushes the sidebar for the current user.
+    """
+    sidebar.flush()
 
 logic = Logic()