Skip to content

Commit

Permalink
Make coursemanager easier to set to nothing. MDL-9139
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 1, 2007
1 parent 731fa02 commit f02d236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/adminlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2468,6 +2468,8 @@ function get_setting() {
$array[$roleid] = 1;
}
return $array;
} else if (isset($CFG->{$this->name})) {
return array();
} else {
return null;
}
Expand Down

0 comments on commit f02d236

Please sign in to comment.