From 5416a9aa44f679c3faceb5ae7b082ff4bbddce1b Mon Sep 17 00:00:00 2001 From: mattc-catalyst Date: Sun, 6 May 2007 23:19:32 +0000 Subject: [PATCH] MDL-9617: Fixed bug in previous commits. - warnings being displayed in developer mode. - caused by patch from patch series not being applied. --- calendar/lib.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index 55c39b6ebcf..cbc1326fe8a 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; }