From e93f551b3fdb0d1b8dcaa381005eaa2e1ff7e177 Mon Sep 17 00:00:00 2001 From: defacer Date: Wed, 20 Apr 2005 21:17:39 +0000 Subject: [PATCH] Removing leftovers from some debugging session. --- calendar/lib.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/calendar/lib.php b/calendar/lib.php index 49b38bf6a50..26969dbd030 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -982,8 +982,6 @@ function calendar_set_referring_course($courseid) { function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NULL, $groupeventsfrom = NULL, $ignorefilters = false) { global $SESSION, $USER, $CFG; - //$GLOBALS['db']->debug = true; - // Insidious bug-wannabe: setting $SESSION->cal_courses_shown to $course->id would cause // the code to function incorrectly UNLESS we convert it to an integer. One case where // PHP's loose type system works against us. @@ -1071,8 +1069,6 @@ function calendar_set_filters(&$courses, &$group, &$user, $courseeventsfrom = NU else { $group = false; } - - $GLOBALS['db']->debug = false; } function calendar_edit_event_allowed($event) {