From 28e52f4db1362619082bde52f6a0ef684c396fc1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 16 May 2020 06:14:25 +0000 Subject: [PATCH] Fixed table name --- src/Database/DBStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index e4af148cdf..0ff97d0c6c 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -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); } -- 2.39.5