]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/statusnetoauthstore.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / lib / statusnetoauthstore.php
index 341e32d857bd5a2c86b9159e533bf254133a9464..bcf6a180aa596b511e16651a59c2fdd9531af5f1 100644 (file)
@@ -28,7 +28,7 @@ class ApiStatusNetOAuthDataStore extends OAuthDataStore
 {
     function lookup_consumer($consumerKey)
     {
-        $con = Consumer::staticGet('consumer_key', $consumerKey);
+        $con = Consumer::getKV('consumer_key', $consumerKey);
 
         if (!$con) {
 
@@ -146,7 +146,7 @@ class ApiStatusNetOAuthDataStore extends OAuthDataStore
             common_debug('Request token found.', __FILE__);
 
             // find the app and profile associated with this token
-            $tokenAssoc = Oauth_token_association::staticGet('token', $rt->tok);
+            $tokenAssoc = Oauth_token_association::getKV('token', $rt->tok);
 
             if (!$tokenAssoc) {
                 throw new Exception(