mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-41760 move upgrade steps to match 04 version.
In previous (merge) commit, version was moved, on conflict to 04 (coz 01) was already in use. This commit moves the 3 upgrade steps to 02, 03 and 04, matching that final version.
This commit is contained in:
parent
1c774322ba
commit
2c36f83422
1 changed files with 6 additions and 6 deletions
|
@ -3124,7 +3124,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
upgrade_main_savepoint(true, 2014022600.00);
|
upgrade_main_savepoint(true, 2014022600.00);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2014031400.01) {
|
if ($oldversion < 2014031400.02) {
|
||||||
// Delete any cached stats to force recalculation later, then we can be sure that cached records will have the correct
|
// Delete any cached stats to force recalculation later, then we can be sure that cached records will have the correct
|
||||||
// field.
|
// field.
|
||||||
$DB->delete_records('question_response_analysis');
|
$DB->delete_records('question_response_analysis');
|
||||||
|
@ -3141,10 +3141,10 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main savepoint reached.
|
// Main savepoint reached.
|
||||||
upgrade_main_savepoint(true, 2014031400.01);
|
upgrade_main_savepoint(true, 2014031400.02);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2014031400.02) {
|
if ($oldversion < 2014031400.03) {
|
||||||
|
|
||||||
// Define table question_response_count to be created.
|
// Define table question_response_count to be created.
|
||||||
$table = new xmldb_table('question_response_count');
|
$table = new xmldb_table('question_response_count');
|
||||||
|
@ -3165,10 +3165,10 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main savepoint reached.
|
// Main savepoint reached.
|
||||||
upgrade_main_savepoint(true, 2014031400.02);
|
upgrade_main_savepoint(true, 2014031400.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2014031400.03) {
|
if ($oldversion < 2014031400.04) {
|
||||||
|
|
||||||
// Define field whichtries to be added to question_response_analysis.
|
// Define field whichtries to be added to question_response_analysis.
|
||||||
$table = new xmldb_table('question_response_analysis');
|
$table = new xmldb_table('question_response_analysis');
|
||||||
|
@ -3180,7 +3180,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main savepoint reached.
|
// Main savepoint reached.
|
||||||
upgrade_main_savepoint(true, 2014031400.03);
|
upgrade_main_savepoint(true, 2014031400.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue