*
* @return boolean success flag
*/
- function prepare($args)
+ function prepare(array $args = array())
{
parent::prepare($args);
*
* @return nothing
*/
- function handle($args)
+ function handle()
{
header('Content-Type: application/rsd+xml');
$this->elementStart('api', $apiAttrs);
$this->elementStart('settings');
$this->element('docs', null,
- 'http://status.net/wiki/TwitterCompatibleAPI');
+ common_local_url('doc', array('title' => 'api')));
$this->element('setting', array('name' => 'OAuth'),
'true');
$this->elementEnd('settings');