add $user on delete line

possible to hamonize the call function for all line->delete ?
This commit is contained in:
BENKE Charlene 2018-04-24 23:41:12 +02:00 committed by GitHub
parent 90723357c4
commit c879232fd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2762,6 +2762,8 @@ class SupplierInvoiceLine extends CommonObjectLine
*/ */
public function delete($notrigger = 0) public function delete($notrigger = 0)
{ {
global $user;
dol_syslog(get_class($this)."::deleteline rowid=".$this->id, LOG_DEBUG); dol_syslog(get_class($this)."::deleteline rowid=".$this->id, LOG_DEBUG);
$error = 0; $error = 0;