mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-53566 core: add back upgrade code removed @ 0616f04 by mistake
This commit is contained in:
parent
d27e49448f
commit
b4c33348ff
@ -2658,6 +2658,10 @@ function xmldb_main_upgrade($oldversion) {
|
||||
$field = new xmldb_field('predictionsprocessor', XMLDB_TYPE_CHAR, '255', null, null, null, null, 'timesplitting');
|
||||
|
||||
// Conditionally launch add field predictionsprocessor.
|
||||
if (!$dbman->field_exists($table, $field)) {
|
||||
$dbman->add_field($table, $field);
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2018102900.00);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user