From 3d3028c5a49d0a3f99b87d253d7b4e2b3ac224b8 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Thu, 17 Apr 2008 11:33:21 +0000 Subject: [PATCH] Clear caches so that module is immediatly visible. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20606 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py b/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py index 6f04d90970..af48a2e786 100644 --- a/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py +++ b/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py @@ -385,6 +385,8 @@ def ERP5Site_createModuleScribus(self, object_portal_type, module_title) + # Clear caches so that module is immediatly visible + portal.portal_caches.clearAllCache() # manage redirection URL if not selection_index: -- 2.30.9