Skip to content

Commit

Permalink
FIX: outdated phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-florianm committed Jul 11, 2019
1 parent 8030735 commit 4f03165
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions htdocs/expedition/class/expedition.class.php
Expand Up @@ -1073,12 +1073,14 @@ function update($user=null, $notrigger=0)
}
}

/**
* Delete shipment.
* Warning, do not delete a shipment if a delivery is linked to (with table llx_element_element)
*
* @return int >0 if OK, 0 if deletion done but failed to delete files, <0 if KO
*/
/**
* Delete shipment.
* Warning, do not delete a shipment if a delivery is linked to (with table llx_element_element)
*
* @param bool $also_update_stock true if the stock should be increased back (false by default)
* @return int >0 if OK, 0 if deletion done but failed to delete files, <0 if KO
* @throws Exception
*/
function delete($also_update_stock = false)
{
global $conf, $langs, $user;
Expand Down

0 comments on commit 4f03165

Please sign in to comment.