mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update var names
This commit is contained in:
parent
29f53112c0
commit
caba131a00
1 changed files with 3 additions and 3 deletions
|
|
@ -128,15 +128,15 @@ class Auth
|
|||
string $request
|
||||
): int
|
||||
{
|
||||
$records = 0;
|
||||
$affected = 0;
|
||||
|
||||
foreach ($this->like($request) as $record)
|
||||
{
|
||||
$records += $this->delete(
|
||||
$affected += $this->delete(
|
||||
$record->id
|
||||
);
|
||||
}
|
||||
|
||||
return $records;
|
||||
return $affected;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue