forked from GNUsocial/gnu-social
Fix bug 1997: notice search rss utter failure
Since commit c4072ef7c9
in March there's no longer an automatic run of $this->getNotices() from RssAction parent class; added to the subclass.
It might make sense to put it back in the parent class, but of course only if those dupe calls can be resolved.
This commit is contained in:
parent
3db551ed5a
commit
a7be30857a
@ -54,6 +54,13 @@ class NoticesearchrssAction extends Rss10Action
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function prepare($args)
|
||||||
|
{
|
||||||
|
parent::prepare($args);
|
||||||
|
$this->notices = $this->getNotices();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
function getNotices($limit=0)
|
function getNotices($limit=0)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user