From: Mikael Nordfeldth Date: Sat, 6 Jun 2015 19:57:42 +0000 (+0200) Subject: ApiOAuthAction functions didn't match parents X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=628e7fa583df4211fdf5490be5e3b651604f1137;p=quix0rs-gnu-social.git ApiOAuthAction functions didn't match parents --- diff --git a/lib/apioauthaction.php b/lib/apioauthaction.php index 8da7e5c61c..95a3bec45d 100644 --- a/lib/apioauthaction.php +++ b/lib/apioauthaction.php @@ -54,25 +54,10 @@ class ApiOAuthAction extends ApiAction return false; } - function prepare($args) + 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($args) - { - parent::handle($args); self::cleanRequest(); + return parent::prepare($args); } /*