summaryrefslogtreecommitdiff
path: root/actions/userrss.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-09-24 15:10:55 -0700
committerZach Copley <zach@status.net>2009-09-24 15:10:55 -0700
commite566219299b339fb649eb8a21bd37e8c93844375 (patch)
tree803b3e95e3ab72608fadb3671b83415667157640 /actions/userrss.php
parent93b7e601156d88399b57ef9cd2962a22350270a8 (diff)
Output If-Modified-Since header for all RSS 1.0 feeds (again)
Diffstat (limited to 'actions/userrss.php')
-rw-r--r--actions/userrss.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/actions/userrss.php b/actions/userrss.php
index fa6d588cd..e6f697092 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,10 +64,10 @@ class UserrssAction extends Rss10Action
function getNotices($limit=0)
{
-
$user = $this->user;
-
+
if (is_null($user)) {
+ common_debug('null user');
return null;
}
@@ -75,6 +75,7 @@ class UserrssAction extends Rss10Action
$notices = array();
while ($notice->fetch()) {
+ common_debug("notice");
$notices[] = clone($notice);
}