UserRSS Didn't Use the Tag Propery.

This meant that server.com/user/tag/TAG/rss just returned all user data.
That was incorrect.
This commit is contained in:
Christopher Vollick 2010-02-11 11:19:50 -05:00 committed by Zach Copley
parent c1212fb9e3
commit 43cc24a0cc

View File

@ -37,8 +37,12 @@ class UserrssAction extends Rss10Action
if (!$this->user) { if (!$this->user) {
$this->clientError(_('No such user.')); $this->clientError(_('No such user.'));
return false; return false;
} else {
if ($this->tag) {
$this->notices = $this->getTaggedNotices($tag, $this->limit);
} else { } else {
$this->notices = $this->getNotices($this->limit); $this->notices = $this->getNotices($this->limit);
}
return true; return true;
} }
} }