*
* @return void
*/
- function handle($args)
+ function handle(array $args=array())
{
parent::handle($args);
- $datastore = new ApiGNUSocialOAuthDataStore();
+ $datastore = new ApiGNUsocialOAuthDataStore();
$server = new OAuthServer($datastore);
$hmac_method = new OAuthSignatureMethod_HMAC_SHA1();
common_debug(var_export($req, true));
$code = $e->getCode();
$this->clientError($e->getMessage(), empty($code) ? 401 : $code, 'text');
- return;
}
if (empty($atok)) {