]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/OpenWebAuthToken.php
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / src / Model / OpenWebAuthToken.php
index cfb2fdd51da65d47fd1538b7d165b0df0e487275..7c14cd3046c24bcad7bd56d74c3e5f1111aa15f5 100644 (file)
@@ -49,7 +49,7 @@ class OpenWebAuthToken
                $condition = ["type" => $type, "uid" => $uid, "token" => $token];
 
                $entry = DBA::selectFirst("openwebauth-token", ["id", "meta"], $condition);
-               if (DBA::is_result($entry)) {
+               if (DBA::isResult($entry)) {
                        DBA::delete("openwebauth-token", ["id" => $entry["id"]]);
 
                        return $entry["meta"];