]> git.mjollnir.org Git - moodle.git/commitdiff
Missing global in upgrade code.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 27 Nov 2009 10:56:39 +0000 (10:56 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 27 Nov 2009 10:56:39 +0000 (10:56 +0000)
question/type/multichoice/db/upgrade.php

index 501af6ce8c4e6c15d95a86abcf1c1fa5a13c7627..b9ca6f3f32240d611a362b5396b429e97d08f865 100644 (file)
@@ -21,7 +21,7 @@
 // before any action that may take longer time to finish.
 
 function xmldb_qtype_multichoice_upgrade($oldversion) {
-    global $CFG, $DB;
+    global $CFG, $DB, $QTYPES;
 
     $dbman = $DB->get_manager();
     $result = true;