invalidate session cache on changes in egw_info

This commit is contained in:
Ralf Becker 2006-04-06 07:53:44 +00:00
parent 055c9f846f
commit bae9cc6013

View File

@ -393,6 +393,10 @@
} }
$GLOBALS['egw']->hooks->register_all_hooks(); $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'); $GLOBALS['egw']->redirect_link('/admin/index.php');
} }
} }