From 628e7fa583df4211fdf5490be5e3b651604f1137 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 6 Jun 2015 21:57:42 +0200 Subject: [PATCH] ApiOAuthAction functions didn't match parents --- lib/apioauthaction.php | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) 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); } /* -- 2.39.5