Skip to content

Commit

Permalink
MDL-26285 block_rss_client - do not disable with enablerssfeeds
Browse files Browse the repository at this point in the history
This setting was used in 1.9 and below to control feed generation only, not
for RSS consumption.
  • Loading branch information
danpoltawski committed Jul 6, 2011
1 parent 81f8e0f commit ac9695e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions blocks/rss_client/block_rss_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down

0 comments on commit ac9695e

Please sign in to comment.