MDL-38557 fix quiz version number mess from MDL-31983
This commit is contained in:
@@ -1756,5 +1756,13 @@ function xmldb_main_upgrade($oldversion) {
|
||||
// No savepoint needed for this change.
|
||||
}
|
||||
|
||||
if ($oldversion < 2013032200.01) {
|
||||
// MDL-31983 broke the quiz version number. Fix it.
|
||||
$DB->set_field('modules', 'version', '2013021500',
|
||||
array('name' => 'quiz', 'version' => '2013310100'));
|
||||
|
||||
upgrade_main_savepoint(true, 2013032200.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$module->version = 2013310100; // The current module version (Date: YYYYMMDDXX).
|
||||
$module->version = 2013021500; // The current module version (Date: YYYYMMDDXX).
|
||||
$module->requires = 2012112900; // Requires this Moodle version.
|
||||
$module->component = 'mod_quiz'; // Full name of the plugin (used for diagnostics).
|
||||
$module->cron = 60;
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2013032200.00; // YYYYMMDD = weekly release date of this DEV branch
|
||||
$version = 2013032200.01; // YYYYMMDD = weekly release date of this DEV branch
|
||||
// RR = release increments - 00 in DEV branches
|
||||
// .XX = incremental changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user