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:
Brion Vibber 2009-11-20 14:52:29 -08:00
parent 3db551ed5a
commit a7be30857a

View File

@ -54,6 +54,13 @@ class NoticesearchrssAction extends Rss10Action
return true;
}
function prepare($args)
{
parent::prepare($args);
$this->notices = $this->getNotices();
return true;
}
function getNotices($limit=0)
{