Browse Source

update var names

PHP-GTK3
yggverse 4 months ago
parent
commit
caba131a00
  1. 6
      src/Model/Database/Auth.php

6
src/Model/Database/Auth.php

@ -128,15 +128,15 @@ class Auth
string $request string $request
): int ): int
{ {
$records = 0; $affected = 0;
foreach ($this->like($request) as $record) foreach ($this->like($request) as $record)
{ {
$records += $this->delete( $affected += $this->delete(
$record->id $record->id
); );
} }
return $records; return $affected;
} }
} }
Loading…
Cancel
Save