From: Michael <heluecht@pirati.ca>
Date: Sat, 16 May 2020 06:14:25 +0000 (+0000)
Subject: Fixed table name
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28e52f4db1362619082bde52f6a0ef684c396fc1;p=friendica.git

Fixed table name
---

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);
 		}