mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-07-01 07:01:12 +02:00
invalid session cache on change of session preference, otherwise session prefs only work in login
This commit is contained in:
@ -370,6 +370,10 @@
|
|||||||
{
|
{
|
||||||
$this->session[$app_name][$var] = $this->data[$app_name][$var] = $value;
|
$this->session[$app_name][$var] = $this->data[$app_name][$var] = $value;
|
||||||
$GLOBALS['egw']->session->appsession('preferences','preferences',$this->session);
|
$GLOBALS['egw']->session->appsession('preferences','preferences',$this->session);
|
||||||
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user