summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-07-23 21:46:20 +1200
committerZach Copley <zach@controlyourself.ca>2009-08-08 00:56:01 +0000
commit4e7546fbe2966b68eef34241374769cd0be723e5 (patch)
treef927e1635c2472ed1f5805776b4acd155c54af74 /lib
parent9b3adf789a7df54294fdafb44dc48a425490e787 (diff)
Call $this->getNotices() always, becuase $this will be the right class.
e.g. TagrssAction or PublicrssAction
Diffstat (limited to 'lib')
-rw-r--r--lib/rssaction.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 7686d0646..3b9f0fb47 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -97,11 +97,7 @@ class Rss10Action extends Action
// Parent handling, including cache check
parent::handle($args);
// Get the list of notices
- if (empty($this->tag)) {
- $this->notices = $this->getNotices($this->limit);
- } else {
- $this->notices = $this->getTaggedNotices($this->tag, $this->limit);
- }
+ $this->notices = $this->getNotices($this->limit);
$this->showRss();
}