Fixed table name
This commit is contained in:
parent
14f814e6ba
commit
28e52f4db1
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ class DBStructure
|
||||||
LEFT JOIN `clients` ON `clients`.`client_id` = `tokens`.`client_id`
|
LEFT JOIN `clients` ON `clients`.`client_id` = `tokens`.`client_id`
|
||||||
WHERE `clients`.`client_id` IS NULL");
|
WHERE `clients`.`client_id` IS NULL");
|
||||||
while ($token = DBA::fetch($tokens)) {
|
while ($token = DBA::fetch($tokens)) {
|
||||||
DBA::delete('token', ['id' => $token['id']]);
|
DBA::delete('tokens', ['id' => $token['id']]);
|
||||||
}
|
}
|
||||||
DBA::close($tokens);
|
DBA::close($tokens);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue