From 46306d8a2564aa90696239f0db69bef640eea9d3 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Wed, 6 Jul 2011 21:10:43 +0100 Subject: [PATCH] MDL-26285 block_rss_client - do not disable with enablerssfeeds This setting was used in 1.9 and below to control feed generation only, not for RSS consumption. --- blocks/rss_client/block_rss_client.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/blocks/rss_client/block_rss_client.php b/blocks/rss_client/block_rss_client.php index 21eb44f2f10..11bec78fe99 100644 --- a/blocks/rss_client/block_rss_client.php +++ b/blocks/rss_client/block_rss_client.php @@ -55,14 +55,6 @@ return $this->content; } - if (!$CFG->enablerssfeeds) { - $this->content->text = ''; - if ($this->page->user_is_editing()) { - $this->content->text = get_string('disabledrssfeeds', 'block_rss_client'); - } - return $this->content; - } - // initalise block content object $this->content = new stdClass; $this->content->text = '';