]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13448 - missing the global $db statement. Fix thanks to Samuli Karevaara.
authortjhunt <tjhunt>
Tue, 19 Feb 2008 16:21:36 +0000 (16:21 +0000)
committertjhunt <tjhunt>
Tue, 19 Feb 2008 16:21:36 +0000 (16:21 +0000)
mod/quiz/db/upgrade.php

index 4cff3d89d1c4356d4a77e1abcc59ab4410d5fb2f..07b41df5065f21ce6386cc31df1223d4ba9ef340 100644 (file)
@@ -19,7 +19,7 @@
 
 function xmldb_quiz_upgrade($oldversion=0) {
 
-    global $CFG, $THEME;
+    global $CFG, $THEME, $db;
 
     $result = true;