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 78087dd commit 7a0374f6e7a38519ab9fc8b82675374b7814ff4a @danpoltawski danpoltawski committed with stronk7 Jul 6, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 blocks/rss_client/block_rss_client.php
View
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 7a0374f

Please sign in to comment.