ApiOAuthAction functions didn't match parents

This commit is contained in:
Mikael Nordfeldth 2015-06-06 21:57:42 +02:00
parent 15643c802b
commit 628e7fa583

View File

@ -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);
}
/*