mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
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:
parent
ddecb2c498
commit
5416a9aa44
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user