small bugfix, it's prepare() not initialize()

This commit is contained in:
Robin Millette 2009-01-23 04:03:04 +00:00 committed by Robin Millette
parent c8b606f17e
commit 1e1a24d8c1

View File

@ -49,7 +49,6 @@ require_once INSTALLDIR.'/lib/rssaction.php';
*/
class AllrssAction extends Rss10Action
{
var $user = null;
/**
@ -57,8 +56,9 @@ class AllrssAction extends Rss10Action
*
* @return boolean false if user doesn't exist
*/
function init()
function prepare($args)
{
parent::prepare($args);
$nickname = $this->trimmed('nickname');
$this->user = User::staticGet('nickname', $nickname);