diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-14 15:58:02 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-14 15:58:02 -0700 |
commit | 47bc53eb5c328254d431caebf8acfd2636969bb4 (patch) | |
tree | 26ecfe8531fd043941cda81673af961a27e8cc85 /modules/rss/helpers/rss_theme.php | |
parent | dc3ed06cd76ebc7b949865be789fb26590d63ed0 (diff) | |
parent | f18fb934427ce09896b51d49520b04fba0f1dd44 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/rss/helpers/rss_theme.php')
-rw-r--r-- | modules/rss/helpers/rss_theme.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/modules/rss/helpers/rss_theme.php b/modules/rss/helpers/rss_theme.php index b82133bd..52d988bf 100644 --- a/modules/rss/helpers/rss_theme.php +++ b/modules/rss/helpers/rss_theme.php @@ -18,18 +18,6 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class rss_theme_Core { - static function head($theme) { - if ($theme->item()) { - $url = rss::item_feed($theme->item()); - } else if ($theme->tag()) { - $url = rss::tag_feed($theme->tag()); - } - - if (!empty($url)) { - return "<link rel=\"alternate\" type=\"" . rest::RSS . "\" href=\"$url\" />"; - } - } - static function sidebar_blocks($theme) { // @todo this needs to be data driven if (!$theme->item()) { @@ -40,7 +28,7 @@ class rss_theme_Core { $block->css_id = "gRss"; $block->title = t("Available RSS Feeds"); $block->content = new View("rss_block.html"); - $block->content->feeds = rss::get_feeds($theme->item()); + $block->content->feeds = rss::available_feeds($theme->item()); return $block; } |