<?php
/**
* GNU Social
- * Copyright (C) 2010, Free Software Foundation, Inc.
+ * Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
- * @copyright 2010 Free Software Foundation, Inc.
+ * @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
var $user = null;
var $url = null;
- function prepare($args)
+ function prepare(array $args = array())
{
parent::prepare($args);
$this->user = common_current_user();
return true;
}
- function handle($args)
+ function handle()
{
- parent::handle($args);
+ parent::handle();
if ($this->isPost()) {
$this->handlePost($args);