mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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
|
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…
Add table
Add a link
Reference in a new issue