Call $this->getNotices() always, becuase $this will be the right class.
e.g. TagrssAction or PublicrssAction
This commit is contained in:
parent
9b3adf789a
commit
4e7546fbe2
@ -97,11 +97,7 @@ class Rss10Action extends Action
|
|||||||
// Parent handling, including cache check
|
// Parent handling, including cache check
|
||||||
parent::handle($args);
|
parent::handle($args);
|
||||||
// Get the list of notices
|
// Get the list of notices
|
||||||
if (empty($this->tag)) {
|
|
||||||
$this->notices = $this->getNotices($this->limit);
|
$this->notices = $this->getNotices($this->limit);
|
||||||
} else {
|
|
||||||
$this->notices = $this->getTaggedNotices($this->tag, $this->limit);
|
|
||||||
}
|
|
||||||
$this->showRss();
|
$this->showRss();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user