mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-44712 scorm: make upgrade match install.xml defintion
This commit is contained in:
parent
cfbba4a94c
commit
6f9f149b04
@ -112,7 +112,7 @@ function xmldb_scorm_upgrade($oldversion) {
|
||||
if ($oldversion < 2016080900) {
|
||||
$table = new xmldb_table('scorm');
|
||||
|
||||
$field = new xmldb_field('completionstatusallscos', XMLDB_TYPE_INTEGER, '1', null, XMLDB_NOTNULL, null, '0', 'completionscorerequired');
|
||||
$field = new xmldb_field('completionstatusallscos', XMLDB_TYPE_INTEGER, '1', null, null, null, null, 'completionscorerequired');
|
||||
if (!$dbman->field_exists($table, $field)) {
|
||||
$dbman->add_field($table, $field);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user