X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapioauthaction.php;fp=lib%2Fapioauthaction.php;h=53be050022bf2df3159949da976534e15e84a6ad;hb=c6f89b21748948fde902904f6ac9ce9afa026b84;hp=0a6c934b833614f9244a203d569bf52990b2b7ef;hpb=597a3c89edd7200ab069f0e43c4f63406ca3d7f9;p=quix0rs-gnu-social.git diff --git a/lib/apioauthaction.php b/lib/apioauthaction.php index 0a6c934b83..53be050022 100644 --- a/lib/apioauthaction.php +++ b/lib/apioauthaction.php @@ -54,25 +54,10 @@ class ApiOAuthAction extends ApiAction return false; } - function prepare(array $args=array()) + protected function prepare(array $args=array()) { - parent::prepare($args); - return true; - } - - /** - * Handle input, produce output - * - * Switches on request method; either shows the form or handles its input. - * - * @param array $args $_REQUEST data - * - * @return void - */ - function handle(array $args=array()) - { - parent::handle($args); self::cleanRequest(); + return parent::prepare($args); } /*