diff --git a/course/lib.php b/course/lib.php index 28b1d64bfc8..ac0603922d3 100644 --- a/course/lib.php +++ b/course/lib.php @@ -494,14 +494,12 @@ function print_log($course, $user=0, $date=0, $order="l.time ASC", $page=0, $per $totalcount = 0; // Initialise - $db->debug = true; if (!$logs = get_logs($selector, $order, $page*$perpage, $perpage, $totalcount)) { notify("No logs found!"); print_footer($course); exit; } - $db->debug = false; $count=0; $ldcache = array(); $tt = getdate(time());