Call $this->getNotices() always, becuase $this will be the right class.

e.g.
TagrssAction
 or
PublicrssAction
This commit is contained in:
Brenda Wallace 2009-07-23 21:46:20 +12:00 committed by Zach Copley
parent 9b3adf789a
commit 4e7546fbe2
1 changed files with 1 additions and 5 deletions

View File

@ -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();
}