Fixed table name

This commit is contained in:
Michael 2020-05-16 06:14:25 +00:00
parent 14f814e6ba
commit 28e52f4db1
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ class DBStructure
LEFT JOIN `clients` ON `clients`.`client_id` = `tokens`.`client_id`
WHERE `clients`.`client_id` IS NULL");
while ($token = DBA::fetch($tokens)) {
DBA::delete('token', ['id' => $token['id']]);
DBA::delete('tokens', ['id' => $token['id']]);
}
DBA::close($tokens);
}