Skip to content
Snippets Groups Projects
Commit e4f17c87 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #5793 Normalise code.

parent c1102970
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment