Permalink
Browse files

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.
  • Loading branch information...
1 parent 81f8e0f commit ac9695e5d87a762822b65f697ed6066161b00410 @danpoltawski danpoltawski committed Jul 6, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 blocks/rss_client/block_rss_client.php
@@ -55,14 +55,6 @@ function get_content() {
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 = '';

0 comments on commit ac9695e

Please sign in to comment.