MDL-9617: Fixed bug in previous commits.
- warnings being displayed in developer mode. - caused by patch from patch series not being applied.
This commit is contained in:
@@ -1252,8 +1252,6 @@ function calendar_get_default_courses($ignoreref = false) {
|
||||
else {
|
||||
$courses = get_my_courses($USER->id, 'visible DESC', null, false);
|
||||
}
|
||||
// Make sure global events are included
|
||||
$courses[0] = true;
|
||||
|
||||
return $courses;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user