]> git.mxchange.org Git - friendica.git/blobdiff - include/oauth.php
Some more replaced old database functions
[friendica.git] / include / oauth.php
index bb122786851d3d83b3e45ed231353a273f43bc03..c6993d05b00354fdbdc61164007e38597343d8f8 100644 (file)
@@ -113,7 +113,7 @@ class FKOAuthDataStore extends OAuthDataStore {
        }
 
 
-       q("DELETE FROM tokens WHERE id='%s'", $token->key);
+       dba::delete('tokens', array('id' => $token->key));
 
 
        if (!is_null($ret) && $uverifier!==false){