Make coursemanager easier to set to nothing. MDL-9139
This commit is contained in:
@@ -2468,6 +2468,8 @@ class admin_setting_special_coursemanager extends admin_setting {
|
||||
$array[$roleid] = 1;
|
||||
}
|
||||
return $array;
|
||||
} else if (isset($CFG->{$this->name})) {
|
||||
return array();
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user