diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index 65661b3cce8..8c2b725f8d2 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -761,11 +761,12 @@ class Account extends CommonObject /** - * Delete bank account from database + * Delete bank account from database * - * @return int <0 if KO, >0 if OK + * @param User $user User deleting + * @return int <0 if KO, >0 if OK */ - function delete() + function delete($user='') { global $conf;