Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 46306d8a2564aa90696239f0db69bef640eea9d3 1 parent 2c9b885
@danpoltawski danpoltawski authored stronk7 committed
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 = '';
Please sign in to comment.
Something went wrong with that request. Please try again.