Fix dead code
This commit is contained in:
parent
4a3251407f
commit
b999b0bb82
@ -872,8 +872,6 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
dol_syslog("interface_modAgenda_ActionsAuto.class.php: ".$this->error, LOG_ERR);
|
dol_syslog("interface_modAgenda_ActionsAuto.class.php: ".$this->error, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -99,15 +99,15 @@ class Loan extends CommonObject
|
|||||||
$this->account_capital = $obj->accountancy_account_capital;
|
$this->account_capital = $obj->accountancy_account_capital;
|
||||||
$this->account_insurance = $obj->accountancy_account_insurance;
|
$this->account_insurance = $obj->accountancy_account_insurance;
|
||||||
$this->account_interest = $obj->accountancy_account_interest;
|
$this->account_interest = $obj->accountancy_account_interest;
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
$this->db->free($resql);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$this->db->free($resql);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
$this->db->free($resql);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -482,13 +482,14 @@ class Loan extends CommonObject
|
|||||||
if (empty($obj->fk_user_modif)) $obj->tms = "";
|
if (empty($obj->fk_user_modif)) $obj->tms = "";
|
||||||
$this->date_modification = $this->db->jdate($obj->tms);
|
$this->date_modification = $this->db->jdate($obj->tms);
|
||||||
|
|
||||||
|
$this->db->free($result);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return 0;
|
$this->db->free($result);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
$this->db->free($result);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user