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
parent 38d70f1386
commit a33ffe1357

View File

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