FIX #5793 Normalise code.
This commit is contained in:
parent
c110297032
commit
e4f17c8763
@ -440,14 +440,14 @@ class FactureRec extends CommonInvoice
|
||||
/**
|
||||
* Delete template invoice
|
||||
*
|
||||
* @param int $rowid Id of invoice to delete. If empty, we delete current instance of invoice
|
||||
* @param User $user User that delete.
|
||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||
* @param int $idwarehouse Id warehouse to use for stock change.
|
||||
* @return int <0 if KO, >0 if OK
|
||||
*/
|
||||
function delete($rowid=0, $notrigger=0, $idwarehouse=-1)
|
||||
function delete($user, $notrigger=0, $idwarehouse=-1)
|
||||
{
|
||||
if (empty($rowid)) $rowid=$this->id;
|
||||
$rowid=$this->id;
|
||||
|
||||
dol_syslog(get_class($this)."::delete rowid=".$rowid, LOG_DEBUG);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user