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
38d70f1386
commit
a33ffe1357
@ -98,11 +98,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