Skip to content

Commit

Permalink
Removing leftovers from some debugging session.
Browse files Browse the repository at this point in the history
  • Loading branch information
defacer committed Apr 20, 2005
1 parent 95a1810 commit e93f551
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e93f551

Please sign in to comment.