]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing missing global in quiz pg upgrade
authormjollnir_ <mjollnir_>
Thu, 27 Apr 2006 23:25:06 +0000 (23:25 +0000)
committermjollnir_ <mjollnir_>
Thu, 27 Apr 2006 23:25:06 +0000 (23:25 +0000)
mod/quiz/db/postgres7.php

index 5b3e37f1650cc8df767728f3aedf8d5c9f433f2c..4290ed57aab01f90578ac85a906e898217a232ad 100644 (file)
@@ -4,7 +4,7 @@ function quiz_upgrade($oldversion) {
 // This function does anything necessary to upgrade
 // older versions to match current functionality
 
-    global $CFG;
+    global $CFG, $db;
     include_once("$CFG->dirroot/mod/quiz/locallib.php");
 
     if ($oldversion < 2003010100) {