X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapioauthaccesstoken.php;h=a1a70a9b9e2be36aa949c163b1a142cca48863a9;hb=bdc38a7204dc83e17b5a251a568447b8e23d533e;hp=f3d64de2251935f1b952fde109420c05d6292690;hpb=cc34bb48c7243f78e198ad4d8c1806d5fe886a81;p=quix0rs-gnu-social.git diff --git a/actions/apioauthaccesstoken.php b/actions/apioauthaccesstoken.php index f3d64de225..a1a70a9b9e 100644 --- a/actions/apioauthaccesstoken.php +++ b/actions/apioauthaccesstoken.php @@ -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)) {