fix scrutinizer

This commit is contained in:
florian HENRY 2019-06-05 16:06:55 +02:00
parent 18d7e15a23
commit 45270786f9

View File

@ -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;