Fix: commit at wrong place

This commit is contained in:
Laurent Destailleur 2012-04-15 18:18:46 +02:00
parent 0f8156ebcf
commit ef79c1ba21

View File

@ -387,8 +387,6 @@ class Task extends CommonObject
}
else
{
$this->db->commit();
$this->db->free($resql);
//Delete associated link file
@ -409,6 +407,8 @@ class Task extends CommonObject
}
}
$this->db->commit();
return 1;
}
}