Permalink
Browse files

MDL-20636 changes to quiz and quiz reports upgrade code

  • Loading branch information...
1 parent 1db15c2 commit 5abfa6a930bfe07a08fa4acbaccfc7e3449f57ec @stronk7 stronk7 committed with timhunt Jun 5, 2011
@@ -541,6 +541,8 @@ function xmldb_quiz_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2010122304, 'quiz');
}
+ //===== 2.1.0 upgrade line ======//
+
// Complete any old upgrade from 1.5 that was never finished.
if ($oldversion < 2011051199) {
$table = new xmldb_table('question_states');
@@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2011051200;
-$plugin->requires = 2011051212;
+$plugin->requires = 2011060313;
@@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2011051200;
-$plugin->requires = 2011051212;
+$plugin->requires = 2011060313;
@@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2011051200;
-$plugin->requires = 2011051212;
+$plugin->requires = 2011060313;
@@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2011051200;
-$plugin->requires = 2011051212;
+$plugin->requires = 2011060313;
@@ -26,5 +26,5 @@
defined('MOODLE_INTERNAL') || die();
$module->version = 2011051250;
-$module->requires = 2011051212;
+$module->requires = 2011060313;
$module->cron = 0;

0 comments on commit 5abfa6a

Please sign in to comment.