summaryrefslogtreecommitdiff
path: root/actions/favoritesrss.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-24 22:26:51 -0400
committerEvan Prodromou <evan@status.net>2009-09-24 22:26:51 -0400
commitced6bb1c4edba5ed87fe477c0554cf59fda3b94c (patch)
tree488dc75d76484b01b66e5bf8c17e6a675d5781d3 /actions/favoritesrss.php
parentecb75561af074160650ccf2a5fd79241701c347e (diff)
parentb617c608ea0d66451eb2dcd75e1e1c58c179d8e6 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/favoritesrss.php')
-rw-r--r--actions/favoritesrss.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/actions/favoritesrss.php b/actions/favoritesrss.php
index 2d5ce9854..62f06e841 100644
--- a/actions/favoritesrss.php
+++ b/actions/favoritesrss.php
@@ -50,11 +50,11 @@ require_once INSTALLDIR.'/lib/rssaction.php';
*/
class FavoritesrssAction extends Rss10Action
{
-
+
/** The user whose favorites to display */
-
+
var $user = null;
-
+
/**
* Find the user to display by supplied nickname
*
@@ -66,7 +66,7 @@ class FavoritesrssAction extends Rss10Action
function prepare($args)
{
parent::prepare($args);
-
+
$nickname = $this->trimmed('nickname');
$this->user = User::staticGet('nickname', $nickname);
@@ -74,10 +74,11 @@ class FavoritesrssAction extends Rss10Action
$this->clientError(_('No such user.'));
return false;
} else {
+ $this->notices = $this->getNotices($this->limit);
return true;
}
}
-
+
/**
* Get notices
*