mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:51:12 +01:00
invalid session cache on change of session preference, otherwise session prefs only work in login
This commit is contained in:
parent
00060f9551
commit
2c604b7b06
@ -370,6 +370,10 @@
|
||||
{
|
||||
$this->session[$app_name][$var] = $this->data[$app_name][$var] = $value;
|
||||
$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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user