]> git.mxchange.org Git - friendica.git/commitdiff
Fixed table name
authorMichael <heluecht@pirati.ca>
Sat, 16 May 2020 06:14:25 +0000 (06:14 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 16 May 2020 06:14:25 +0000 (06:14 +0000)
src/Database/DBStructure.php

index e4af148cdf5145ffb2f78810d83e71e44455faad..0ff97d0c6c3685aa162b733b9b2b766902e332f7 100644 (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);
                }