summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-23 03:10:26 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-23 03:10:26 +0100
commitba3b82c5638ba01fa0da6c9025ba2a4b852e66af (patch)
treefd5fd34d48669817b7c3f44231c6daea1d9834c7
parentae0f2009d580200c6fa88890c79b003b802f810b (diff)
Runaway comment in rssaction
-rw-r--r--lib/rssaction.php32
1 files changed, 17 insertions, 15 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 2c532912b..9d7c58064 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' => '',