mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-58454 core: Fix savepoint in upgrade.php
This commit is contained in:
parent
2bdc254cd2
commit
5c145757a8
@ -2672,7 +2672,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2018102900.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2018110300.01) {
|
||||
if ($oldversion < 2018110500.01) {
|
||||
// Define fields to be added to the 'badge' table.
|
||||
$tablebadge = new xmldb_table('badge');
|
||||
$fieldversion = new xmldb_field('version', XMLDB_TYPE_CHAR, '255', null, null, null, null, 'nextcron');
|
||||
@ -2766,7 +2766,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2018110300.01);
|
||||
upgrade_main_savepoint(true, 2018110500.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user