Skip to content

Commit

Permalink
Missing global in upgrade code.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Nov 27, 2009
1 parent 42812ce commit dad9893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/multichoice/db/upgrade.php
Expand Up @@ -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;
Expand Down

0 comments on commit dad9893

Please sign in to comment.