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
83ba93e945
commit
05a0f45de5
|
@ -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