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:
mattc-catalyst 2007-05-06 23:19:32 +00:00
parent ddecb2c498
commit 5416a9aa44

View File

@ -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;
}