From ba3b82c5638ba01fa0da6c9025ba2a4b852e66af Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 23 Jan 2009 03:10:26 +0100 Subject: [PATCH] Runaway comment in rssaction --- lib/rssaction.php | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/lib/rssaction.php b/lib/rssaction.php index 2c532912b4..9d7c580644 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -35,10 +35,10 @@ define('DEFAULT_RSS_LIMIT', 48); class Rss10Action extends Action { # This will contain the details of each feed item's author and be used to generate SIOC data. - + var $creators = array(); var $limit = DEFAULT_RSS_LIMIT; - + /** * Constructor * @@ -57,10 +57,10 @@ class Rss10Action extends Action /** * Do we need to write to the database? - * + * * @return boolean true */ - + function isReadonly() { return true; @@ -68,11 +68,11 @@ class Rss10Action extends Action /** * Read arguments and initialize members - * + * * @param array $args Arguments from $_REQUEST * @return boolean success */ - + function prepare($args) { $this->limit = (int) $this->trimmed('limit'); @@ -81,15 +81,15 @@ class Rss10Action extends Action } return true; } - + /** * Handle a request - * + * * @param array $args Arguments from $_REQUEST - * + * * @return void */ - + function handle($args) { parent::handle($args); @@ -98,10 +98,10 @@ class Rss10Action extends Action /** * Get the notices to output in this stream - * + * * @return array an array of Notice objects sorted in reverse chron */ - + function getNotices() { return array(); @@ -109,9 +109,11 @@ class Rss10Action extends Action /** * Get a description of the channel - * - * Returns an array with the following - * @return array + * + * Returns an array with the following + * @return array + */ + function get_channel() { return array('url' => '', -- 2.39.5