*
* @return boolean false if user doesn't exist
*/
- function handle($args)
+ function handle()
{
- parent::handle($args);
+ parent::handle();
$type = $this->trimmed('type');
$short_name = '';
if ($type == 'people') {
// TRANS: ShortName in the OpenSearch interface when trying to find users.
$short_name = _('People Search');
} else {
- // TRANS: ShortName in the OpenSearch interface when trying to find notices.
$type = 'noticesearch';
+ // TRANS: ShortName in the OpenSearch interface when trying to find notices.
$short_name = _('Notice Search');
}
header('Content-Type: application/opensearchdescription+xml');