From: martinlanghoff Date: Tue, 26 Sep 2006 05:04:40 +0000 (+0000) Subject: course/lib.php: remove unused global X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ea59864f45c7a0b0d086b678c95b07809ffcfe71;p=moodle.git course/lib.php: remove unused global --- diff --git a/course/lib.php b/course/lib.php index 9817747cb8..6e4a20e378 100644 --- a/course/lib.php +++ b/course/lib.php @@ -263,8 +263,6 @@ function build_logs_array($course, $user=0, $date=0, $order="l.time ASC", $limit // It is assumed that $date is the GMT time of midnight for that day, // and so the next 86400 seconds worth of logs are printed. - global $db; - /// Setup for group handling. /// If the group mode is separate, and this user does not have editing privileges,