summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_rss.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-08 17:05:38 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-08 17:05:38 -0700
commitdf85f43aa1199bcbd7f87e6ecb1843d0b942a543 (patch)
tree95077f17b18da000ee88d39f39a9b72bff7b5039 /modules/gallery/helpers/gallery_rss.php
parentcf0c8b63196cb856dd8de0759f6cbb74243d41f1 (diff)
Remove unused $feed->link.
Diffstat (limited to 'modules/gallery/helpers/gallery_rss.php')
-rw-r--r--modules/gallery/helpers/gallery_rss.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_rss.php b/modules/gallery/helpers/gallery_rss.php
index f30df092..feeab88a 100644
--- a/modules/gallery/helpers/gallery_rss.php
+++ b/modules/gallery/helpers/gallery_rss.php
@@ -40,7 +40,6 @@ class gallery_rss_Core {
$feed->max_pages = ceil($all_children->find_all()->count() / $limit);
$feed->title = t("Recent Updates");
- $feed->link = item::root()->abs_url();
$feed->description = t("Recent Updates");
return $feed;
@@ -54,7 +53,6 @@ class gallery_rss_Core {
$feed->max_pages = ceil(
$item->viewable()->descendants_count(array("type" => "photo")) / $limit);
$feed->title = html::purify($item->title);
- $feed->link = $item->abs_url();
$feed->description = nl2br(html::purify($item->description));
return $feed;