* @return boolean success
*/
- function prepare($args)
+ function prepare(array $args=array())
{
parent::prepare($args);
if (!isset($_SERVER['PHP_AUTH_USER'])) {
// This header makes basic auth go
- header('WWW-Authenticate: Basic realm="StatusNet RSS"');
+ header('WWW-Authenticate: Basic realm="GNU social RSS"');
// If the user hits cancel -- bam!
$this->show_basic_auth_error();
* @return void
*/
- function handle($args)
+ function handle(array $args=array())
{
// Parent handling, including cache check
parent::handle($args);