X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FOpenWebAuthToken.php;h=7c14cd3046c24bcad7bd56d74c3e5f1111aa15f5;hb=ecea7425f8ad11ace4af39d476919e3203bff44f;hp=a4c798501b8c82aa4dc67d363d9a0b7cd8f77849;hpb=4f2ae8868431952bd3acda1537ee899740cbf205;p=friendica.git diff --git a/src/Model/OpenWebAuthToken.php b/src/Model/OpenWebAuthToken.php index a4c798501b..7c14cd3046 100644 --- a/src/Model/OpenWebAuthToken.php +++ b/src/Model/OpenWebAuthToken.php @@ -6,7 +6,6 @@ namespace Friendica\Model; use Friendica\Database\DBA; -use Friendica\Database\DBM; use Friendica\Util\DateTimeFormat; /** @@ -50,7 +49,7 @@ class OpenWebAuthToken $condition = ["type" => $type, "uid" => $uid, "token" => $token]; $entry = DBA::selectFirst("openwebauth-token", ["id", "meta"], $condition); - if (DBM::is_result($entry)) { + if (DBA::isResult($entry)) { DBA::delete("openwebauth-token", ["id" => $entry["id"]]); return $entry["meta"];