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:
committed by
Eloy Lafuente (stronk7)
parent
2c9b8852f0
commit
46306d8a25
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user