mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-53566 core: add back upgrade code removed @ 0616f04
by mistake
This commit is contained in:
parent
d27e49448f
commit
b4c33348ff
1 changed files with 4 additions and 0 deletions
|
@ -2658,6 +2658,10 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
$field = new xmldb_field('predictionsprocessor', XMLDB_TYPE_CHAR, '255', null, null, null, null, 'timesplitting');
|
$field = new xmldb_field('predictionsprocessor', XMLDB_TYPE_CHAR, '255', null, null, null, null, 'timesplitting');
|
||||||
|
|
||||||
// Conditionally launch add field predictionsprocessor.
|
// Conditionally launch add field predictionsprocessor.
|
||||||
|
if (!$dbman->field_exists($table, $field)) {
|
||||||
|
$dbman->add_field($table, $field);
|
||||||
|
}
|
||||||
|
|
||||||
// Main savepoint reached.
|
// Main savepoint reached.
|
||||||
upgrade_main_savepoint(true, 2018102900.00);
|
upgrade_main_savepoint(true, 2018102900.00);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue