summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-01 18:29:46 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-01 18:29:46 +0100
commit5a7d2e35af6b15e06d18b35218ff1f7fe5bf923c (patch)
tree27555f3ca0a5794f46edcaa55fcc8f9a63cc1d42 /ishtar_common/models.py
parent8fa45920dac4b11b82f0643839dd86c4901118e4 (diff)
downloadIshtar-5a7d2e35af6b15e06d18b35218ff1f7fe5bf923c.tar.bz2
Ishtar-5a7d2e35af6b15e06d18b35218ff1f7fe5bf923c.zip
Fix cache menu for all users (refs #3746)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index b20392656..839a71d39 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1687,7 +1687,7 @@ def get_current_profile(force=False):
def cached_site_changed(sender, **kwargs):
get_current_profile(force=True)
from ishtar_common.menus import menu
- menu.init(force=True)
+ menu.reinit_menu_for_all_user()
post_save.connect(cached_site_changed, sender=IshtarSiteProfile)