X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapioauthaccesstoken.php;h=8dd0a40b22abd8cfa56d577fd5e21ce946005f86;hb=9e89a177c76741f7e696f09d778bd8b151f84d3f;hp=9379834d656eec79876f5ef3a933c1b8c45c3007;hpb=f46d675a20bd1c70eeb492d7068fabae83e6a6f5;p=quix0rs-gnu-social.git diff --git a/actions/apioauthaccesstoken.php b/actions/apioauthaccesstoken.php index 9379834d65..8dd0a40b22 100644 --- a/actions/apioauthaccesstoken.php +++ b/actions/apioauthaccesstoken.php @@ -52,9 +52,9 @@ class ApiOAuthAccessTokenAction extends ApiOAuthAction * * @return void */ - function handle($args) + function handle() { - parent::handle($args); + parent::handle(); $datastore = new ApiGNUsocialOAuthDataStore(); $server = new OAuthServer($datastore); @@ -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)) {