X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapioauthauthorize.php;h=8f0329cb80949fb97936a19139537b7e059ab6da;hb=2a8ab1c6cae572d324339b211625c4d219db0c89;hp=d0dcf9c9c7a48f065258eb4b27dc112b74d140db;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index d0dcf9c9c7..8f0329cb80 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -60,7 +60,7 @@ class ApiOAuthAuthorizeAction extends ApiOAuthAction return false; } - function prepare($args) + function prepare(array $args = array()) { parent::prepare($args); @@ -88,9 +88,9 @@ class ApiOAuthAuthorizeAction extends ApiOAuthAction * * @return void */ - function handle($args) + function handle() { - parent::handle($args); + parent::handle(); if ($_SERVER['REQUEST_METHOD'] == 'POST') {