mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-48894 core_registration: Fixing version value
This commit is contained in:
parent
fe391a4e0c
commit
d3dac40019
3 changed files with 7 additions and 7 deletions
|
@ -4162,11 +4162,11 @@ function xmldb_main_upgrade($oldversion) {
|
|||
upgrade_main_savepoint(true, 2015012600.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2015012900.01) {
|
||||
if ($oldversion < 2015021100.00) {
|
||||
|
||||
// Define field timemodified to be added to registration_hubs.
|
||||
$table = new xmldb_table('registration_hubs');
|
||||
$field = new xmldb_field('timemodified', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'secret');
|
||||
$field = new xmldb_field('timemodified', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, '0', 'secret');
|
||||
|
||||
// Conditionally launch add field timemodified.
|
||||
if (!$dbman->field_exists($table, $field)) {
|
||||
|
@ -4174,7 +4174,7 @@ function xmldb_main_upgrade($oldversion) {
|
|||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2015012900.01);
|
||||
upgrade_main_savepoint(true, 2015021100.00);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue