forked from GNUsocial/gnu-social
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::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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user