diff options
author | Evan Prodromou <evan@status.net> | 2009-09-24 22:26:51 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-24 22:26:51 -0400 |
commit | ced6bb1c4edba5ed87fe477c0554cf59fda3b94c (patch) | |
tree | 488dc75d76484b01b66e5bf8c17e6a675d5781d3 /actions/publicrss.php | |
parent | ecb75561af074160650ccf2a5fd79241701c347e (diff) | |
parent | b617c608ea0d66451eb2dcd75e1e1c58c179d8e6 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/publicrss.php')
-rw-r--r-- | actions/publicrss.php | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/actions/publicrss.php b/actions/publicrss.php index 593888b9f..0c5d061cb 100644 --- a/actions/publicrss.php +++ b/actions/publicrss.php @@ -50,8 +50,22 @@ require_once INSTALLDIR.'/lib/rssaction.php'; class PublicrssAction extends Rss10Action { /** + * Read arguments and initialize members + * + * @param array $args Arguments from $_REQUEST + * @return boolean success + */ + + function prepare($args) + { + parent::prepare($args); + $this->notices = $this->getNotices($this->limit); + return true; + } + + /** * Initialization. - * + * * @return boolean true */ function init() @@ -73,7 +87,7 @@ class PublicrssAction extends Rss10Action while ($notice->fetch()) { $notices[] = clone($notice); } - + return $notices; } |