fix scrutinizer
This commit is contained in:
parent
18d7e15a23
commit
45270786f9
@ -1145,9 +1145,10 @@ class Expedition extends CommonObject
|
|||||||
* Delete shipment.
|
* Delete shipment.
|
||||||
* Warning, do not delete a shipment if a delivery is linked to (with table llx_element_element)
|
* 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
|
* @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;
|
global $conf, $langs, $user;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user