From 6f9f149b046eaace9c6e8aefbee81c5ff3c116cf Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Mon, 22 Aug 2016 12:40:03 +0100 Subject: [PATCH] MDL-44712 scorm: make upgrade match install.xml defintion --- mod/scorm/db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/scorm/db/upgrade.php b/mod/scorm/db/upgrade.php index 41b028f0c6d..950296106db 100644 --- a/mod/scorm/db/upgrade.php +++ b/mod/scorm/db/upgrade.php @@ -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); } -- 2.43.0