Rename the feed variable from "children" to "comments" since that

makes more semantic sense.
This commit is contained in:
Bharat Mediratta
2010-06-20 17:21:25 -07:00
parent 261da7b1c3
commit 74e821b03e
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -47,10 +47,10 @@ class comment_rss_Core {
$feed = new stdClass();
$feed->view = "comment.mrss";
$feed->children = array();
$feed->comments = array();
foreach ($comments->find_all($limit, $offset) as $comment) {
$item = $comment->item();
$feed->children[] = new ArrayObject(
$feed->comments[] = new ArrayObject(
array("pub_date" => date("D, d M Y H:i:s T", $comment->created),
"text" => nl2br(html::purify($comment->text)),
"thumb_url" => $item->thumb_url(),