From bae9cc601398b395ef85337a5fad0a35436e6bd2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 6 Apr 2006 07:53:44 +0000 Subject: [PATCH] invalidate session cache on changes in egw_info --- admin/inc/class.uiapplications.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/inc/class.uiapplications.inc.php b/admin/inc/class.uiapplications.inc.php index 45df5cd204..4fe81ddf74 100644 --- a/admin/inc/class.uiapplications.inc.php +++ b/admin/inc/class.uiapplications.inc.php @@ -393,6 +393,10 @@ } $GLOBALS['egw']->hooks->register_all_hooks(); + if (method_exists($GLOBALS['egw'],'invalidate_session_cache')) // egw object in setup is limited + { + $GLOBALS['egw']->invalidate_session_cache(); // in case with cache the egw_info array in the session + } $GLOBALS['egw']->redirect_link('/admin/index.php'); } }