Skip to content
Snippets Groups Projects
Commit 123f5802 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Fixed typo in upgrade script

parent 7923a9f8
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ function xmldb_tool_cleanupcourses_upgrade($oldversion) {
$dbman->add_key($table, $key);
}
$field = new xmldb_field('sortindex', XMLDB_TYPE_INTEGER, '5', null, XMLDB_NOTNULL, null, null, 'workflowid');
$field = new xmldb_field('stepindex', XMLDB_TYPE_INTEGER, '5', null, XMLDB_NOTNULL, null, null, 'workflowid');
// Conditionally create the field.
if (!$dbman->field_exists($table, $field)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment