Fixing style errors.

This commit is contained in:
stickler-ci 2020-04-23 05:54:13 +00:00
parent 47654fd629
commit ff694c22d1
2 changed files with 9 additions and 12 deletions

View File

@ -464,7 +464,6 @@ if (empty($reshook))
elseif ($action == 'confirm_cancel' && $confirm == 'yes' && $user->rights->expedition->supprimer)
{
$also_update_stock = (GETPOST('alsoUpdateStock', 'alpha') ? 1 : 0);
$result = $object->cancel(0, $also_update_stock);
if ($result > 0)
@ -475,7 +474,6 @@ if (empty($reshook))
{
setEventMessages($object->error, $object->errors, 'errors');
}
}
elseif ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->expedition->supprimer)

View File

@ -1388,7 +1388,6 @@ class Expedition extends CommonObject
$this->db->rollback();
return -1;
}
}
/**