]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apioauthaccesstoken.php
Add AtomPub, Twitter-compat. API documentation to doc-src/
[quix0rs-gnu-social.git] / actions / apioauthaccesstoken.php
index f3d64de2251935f1b952fde109420c05d6292690..a1a70a9b9e2be36aa949c163b1a142cca48863a9 100644 (file)
@@ -56,7 +56,7 @@ class ApiOAuthAccessTokenAction extends ApiOAuthAction
     {
         parent::handle($args);
 
-        $datastore   = new ApiGNUSocialOAuthDataStore();
+        $datastore   = new ApiGNUsocialOAuthDataStore();
         $server      = new OAuthServer($datastore);
         $hmac_method = new OAuthSignatureMethod_HMAC_SHA1();
 
@@ -80,7 +80,6 @@ class ApiOAuthAccessTokenAction extends ApiOAuthAction
             common_debug(var_export($req, true));
             $code = $e->getCode();
             $this->clientError($e->getMessage(), empty($code) ? 401 : $code, 'text');
-            return;
         }
 
         if (empty($atok)) {