mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
do NOT delete preferences, before writing them in preferences::save_repository (might be cause for race-condition causing preferences to be lost)
This commit is contained in:
parent
8fa3bdb88e
commit
05ed8e3712
@ -702,8 +702,6 @@ class preferences
|
||||
if (!$GLOBALS['egw']->acl->check('session_only_preferences',1,'preferences'))
|
||||
{
|
||||
$this->db->transaction_begin();
|
||||
$this->db->delete($this->table,array('preference_owner' => $account_id),__LINE__,__FILE__);
|
||||
|
||||
foreach($prefs as $app => $value)
|
||||
{
|
||||
if (!is_array($value))
|
||||
|
Loading…
Reference in New Issue
Block a user