mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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
8c4125e75c
commit
06bc5ea552
@ -769,8 +769,6 @@ class preferences
|
||||
(!($old_prefs = $this->cache_read($account_id)) || $old_prefs[$account_id] != $prefs))
|
||||
{
|
||||
$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) || !$value)
|
||||
|
Loading…
Reference in New Issue
Block a user