mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
updating preferences object in session too
This commit is contained in:
parent
658a8b3133
commit
e9d789bafe
@ -716,6 +716,9 @@ class preferences
|
||||
$this->db->transaction_commit();
|
||||
|
||||
// no need to invalidate session cache, if we write the prefs to the session too
|
||||
$egw = unserialize($_SESSION[egw_session::EGW_OBJECT_CACHE]);
|
||||
$egw->preferences = $this;
|
||||
$_SESSION[egw_session::EGW_OBJECT_CACHE] = serialize($egw);
|
||||
}
|
||||
$_SESSION[egw_session::EGW_INFO_CACHE]['user']['preferences'] = $GLOBALS['egw_info']['user']['preferences'] = $this->data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user