summaryrefslogtreecommitdiff
path: root/actions/userrss.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-01 11:30:04 -0400
committerEvan Prodromou <evan@status.net>2009-10-01 11:30:04 -0400
commita41ed1a66a902b078876be7528183ab61e6a3d03 (patch)
treedb690c52820ebd4aefae6222cb4f3b48c2d9398f /actions/userrss.php
parent3449843f839b6c17618b27b031c608860761cd32 (diff)
parentacc78972383c2346b5729192ab00c90c48c5b2a6 (diff)
Merge branch '0.9.x' into schema
Diffstat (limited to 'actions/userrss.php')
-rw-r--r--actions/userrss.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/userrss.php b/actions/userrss.php
index fa6d588cd..19e610551 100644
--- a/actions/userrss.php
+++ b/actions/userrss.php
@@ -25,7 +25,6 @@ require_once(INSTALLDIR.'/lib/rssaction.php');
class UserrssAction extends Rss10Action
{
- var $user = null;
var $tag = null;
function prepare($args)
@@ -39,6 +38,7 @@ class UserrssAction extends Rss10Action
$this->clientError(_('No such user.'));
return false;
} else {
+ $this->notices = $this->getNotices($this->limit);
return true;
}
}
@@ -64,9 +64,8 @@ class UserrssAction extends Rss10Action
function getNotices($limit=0)
{
-
$user = $this->user;
-
+
if (is_null($user)) {
return null;
}