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:
Ralf Becker 2012-10-31 14:16:52 +00:00
parent 8fa3bdb88e
commit 05ed8e3712

View File

@ -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))