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.
This commit is contained in:
Dan Poltawski
2011-07-07 02:12:09 +02:00
committed by Eloy Lafuente (stronk7)
parent 2c9b8852f0
commit 46306d8a25
-8
View File
@@ -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 = '';