diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-07-23 21:46:20 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-07-23 21:46:20 +1200 |
commit | a33ffe1357c93b4bf1a717c3ed4883170431575d (patch) | |
tree | 0ab701151ce14f4f4b2eca4c79881335687829e0 /lib/rssaction.php | |
parent | 38d70f13865b197e17773ba24d67ea1148c32ab3 (diff) |
Call $this->getNotices() always, becuase $this will be the right class.
e.g.
TagrssAction
or
PublicrssAction
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r-- | lib/rssaction.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index 9898894ed..23653e406 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -98,11 +98,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(); } |