From: mattc-catalyst Date: Sun, 6 May 2007 23:19:32 +0000 (+0000) Subject: MDL-9617: Fixed bug in previous commits. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5416a9aa44f679c3faceb5ae7b082ff4bbddce1b;p=moodle.git MDL-9617: Fixed bug in previous commits. - warnings being displayed in developer mode. - caused by patch from patch series not being applied. --- diff --git a/calendar/lib.php b/calendar/lib.php index 55c39b6ebc..cbc1326fe8 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; }