diff --git a/calendar/lib.php b/calendar/lib.php
index <HASH>..<HASH> 100644
--- a/calendar/lib.php
+++ b/calendar/lib.php
@@ -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;
 }
MDL-<I>: Fixed bug in previous commits.

- warnings being displayed in developer mode.
- caused by patch from patch series not being applied.