From 484796e7cc54c3690462ee061850b563c4d5da16 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 14 Jun 2009 11:39:53 -0700 Subject: Remove rss:item_feed, rss::tag_fead and rss_theme::head and move that functionality in the _theme::head function. Created rss::feed_link to wrap the module supplied uri in the html link element. --- modules/rss/helpers/rss_theme.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'modules/rss/helpers/rss_theme.php') diff --git a/modules/rss/helpers/rss_theme.php b/modules/rss/helpers/rss_theme.php index 0f12b475..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 ""; - } - } - static function sidebar_blocks($theme) { // @todo this needs to be data driven if (!$theme->item()) { -- cgit v1.2.3