Fixing style errors.
This commit is contained in:
parent
93ee9a7496
commit
488a434c8b
@ -754,14 +754,14 @@ class Mo extends CommonObject
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$error){
|
if (!$error) {
|
||||||
$res = $this->deleteCommon($user, $notrigger);
|
$res = $this->deleteCommon($user, $notrigger);
|
||||||
if($res < 0){
|
if ($res < 0) {
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$error){
|
if (!$error) {
|
||||||
dol_syslog(get_class($this)."::delete ".$this->id." by ".$user->id, LOG_DEBUG);
|
dol_syslog(get_class($this)."::delete ".$this->id." by ".$user->id, LOG_DEBUG);
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
return $res;
|
return $res;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user