mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
invalidate session cache on changes in egw_info
This commit is contained in:
parent
055c9f846f
commit
bae9cc6013
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user