summaryrefslogtreecommitdiff
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
parentcf0c8b63196cb856dd8de0759f6cbb74243d41f1 (diff)
Remove unused $feed->link.
-rw-r--r--modules/gallery/helpers/gallery_rss.php2
-rw-r--r--modules/tag/helpers/tag_rss.php1
2 files changed, 0 insertions, 3 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;
diff --git a/modules/tag/helpers/tag_rss.php b/modules/tag/helpers/tag_rss.php
index 7194586d..de5d6c72 100644
--- a/modules/tag/helpers/tag_rss.php
+++ b/modules/tag/helpers/tag_rss.php
@@ -37,7 +37,6 @@ class tag_rss_Core {
$feed->children = $tag->items($limit, $offset, "photo");
$feed->max_pages = ceil($tag->count / $limit);
$feed->title = $tag->name;
- $feed->link = url::abs_site("tags/{$tag->id}");
$feed->description = t("Photos related to %tag_name", array("tag_name" => $tag->name));
return $feed;