Skip to content

Commit

Permalink
MDL-20636 changes to quiz and quiz reports upgrade code
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 authored and timhunt committed Jun 6, 2011
1 parent 1db15c2 commit 5abfa6a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions mod/quiz/db/upgrade.php
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion mod/quiz/report/grading/version.php
Expand Up @@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011051200;
$plugin->requires = 2011051212;
$plugin->requires = 2011060313;
2 changes: 1 addition & 1 deletion mod/quiz/report/overview/version.php
Expand Up @@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011051200;
$plugin->requires = 2011051212;
$plugin->requires = 2011060313;
2 changes: 1 addition & 1 deletion mod/quiz/report/responses/version.php
Expand Up @@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011051200;
$plugin->requires = 2011051212;
$plugin->requires = 2011060313;
2 changes: 1 addition & 1 deletion mod/quiz/report/statistics/version.php
Expand Up @@ -26,4 +26,4 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2011051200;
$plugin->requires = 2011051212;
$plugin->requires = 2011060313;
2 changes: 1 addition & 1 deletion mod/quiz/version.php
Expand Up @@ -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.