diff --git a/mod/quiz/db/postgres7.php b/mod/quiz/db/postgres7.php index 48cedb960fd..63c11009236 100644 --- a/mod/quiz/db/postgres7.php +++ b/mod/quiz/db/postgres7.php @@ -5,6 +5,7 @@ function quiz_upgrade($oldversion) { // older versions to match current functionality global $CFG; + include_once("$CFG->dirroot/mod/quiz/locallib.php"); if ($oldversion < 2003010100) { execute_sql(" ALTER TABLE {$CFG->prefix}quiz ADD review integer DEFAULT '0' NOT NULL AFTER `grademethod` ");