Clean code

This commit is contained in:
Laurent Destailleur 2024-03-24 17:01:07 +01:00
parent f598bcbd54
commit d00eb55e89

View file

@ -701,7 +701,7 @@ class BOM extends CommonObject
*/
public function updateLine($rowid, $qty, $qty_frozen = 0, $disable_stock_change = 0, $efficiency = 1.0, $position = -1, $import_key = null, $fk_unit = 0, $array_options = array(), $fk_default_workstation = null)
{
global $mysoc, $conf, $langs, $user;
global $user;
$logtext = "::updateLine bomid=$this->id, qty=$qty, qty_frozen=$qty_frozen, disable_stock_change=$disable_stock_change, efficiency=$efficiency";
$logtext .= ", import_key=$import_key";