Disabled global search by default and marked as experimental MDL-7296 and AJAX moved to experimental too
This commit is contained in:
@@ -30,7 +30,11 @@
|
||||
|
||||
function get_content() {
|
||||
global $CFG;
|
||||
|
||||
|
||||
if (empty($CFG->enableglobalsearch)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
//cache block contents
|
||||
if ($this->content !== NULL) {
|
||||
return $this->content;
|
||||
|
||||
Reference in New Issue
Block a user