Runaway comment in rssaction
This commit is contained in:
parent
ae0f2009d5
commit
ba3b82c563
@ -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' => '',
|
||||
|
Loading…
Reference in New Issue
Block a user