From 45270786f9bb73b889ac8c5147224664445300e1 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Wed, 5 Jun 2019 16:06:55 +0200 Subject: [PATCH] fix scrutinizer --- htdocs/expedition/class/expedition.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/expedition/class/expedition.class.php b/htdocs/expedition/class/expedition.class.php index c6870b64cac..a270af13217 100644 --- a/htdocs/expedition/class/expedition.class.php +++ b/htdocs/expedition/class/expedition.class.php @@ -1145,9 +1145,10 @@ class Expedition extends CommonObject * Delete shipment. * Warning, do not delete a shipment if a delivery is linked to (with table llx_element_element) * + * @param int $notrigger Disable triggers * @return int >0 if OK, 0 if deletion done but failed to delete files, <0 if KO */ - public function delete() + public function delete($notrigger = 0) { global $conf, $langs, $user;