Disabled global search by default and marked as experimental MDL-7296 and AJAX moved to experimental too
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
|
||||
require_login();
|
||||
|
||||
if (empty($CFG->enableglobalsearch)) {
|
||||
error('Global searching is not enabled.');
|
||||
}
|
||||
|
||||
if (!isadmin()) {
|
||||
error("You need to be an admin user to use this page.", "$CFG->wwwroot/login/index.php");
|
||||
} //if
|
||||
|
||||
Reference in New Issue
Block a user