git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 628e7fa5 authored by mmn's avatar mmn

ApiOAuthAction functions didn't match parents

parent 15643c80
......@@ -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);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment