mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-02 11:39:19 +01:00
Fix logging of deleted ids
This commit is contained in:
parent
9f39aee8a6
commit
f2b7664a2f
@ -221,7 +221,7 @@ public function delete($ids) : int
|
||||
// $ids as string could be a comma-separated list of ids
|
||||
// so in this case we explode the string to an array
|
||||
$ids = $this->commaSeparatedToArray($ids);
|
||||
Log::info(sprintf('Deletion of TwoFAccounts #%s requested', implode(',#', $ids)));
|
||||
Log::info(sprintf('Deletion of TwoFAccounts #%s requested', is_array($ids) ? implode(',#', $ids) : $ids ));
|
||||
$deleted = TwoFAccount::destroy($ids);
|
||||
|
||||
return $deleted;
|
||||
|
Loading…
Reference in New Issue
Block a user