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

Adjuested comments

parent a4e580ab
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ function xmldb_tool_cleanupcourses_upgrade($oldversion) { ...@@ -42,7 +42,7 @@ function xmldb_tool_cleanupcourses_upgrade($oldversion) {
$table->add_key('workflowid_fk', XMLDB_KEY_FOREIGN, array('workflowid'), 'tool_cleanupcourses_workflow', array('id')); $table->add_key('workflowid_fk', XMLDB_KEY_FOREIGN, array('workflowid'), 'tool_cleanupcourses_workflow', array('id'));
$table->add_key('stepid_fk', XMLDB_KEY_FOREIGN, array('stepid'), 'tool_cleanupcourses_step', array('id')); $table->add_key('stepid_fk', XMLDB_KEY_FOREIGN, array('stepid'), 'tool_cleanupcourses_step', array('id'));
// Conditionally launch add field id. // Conditionally create the table.
if (!$dbman->table_exists($table)) { if (!$dbman->table_exists($table)) {
$dbman->create_table($table); $dbman->create_table($table);
} }
...@@ -55,7 +55,7 @@ function xmldb_tool_cleanupcourses_upgrade($oldversion) { ...@@ -55,7 +55,7 @@ function xmldb_tool_cleanupcourses_upgrade($oldversion) {
$table->add_field('timeacive', XMLDB_TYPE_INTEGER, '10', null, null, null, null, 'active'); $table->add_field('timeacive', XMLDB_TYPE_INTEGER, '10', null, null, null, null, 'active');
$table->add_key('primary', XMLDB_KEY_PRIMARY, array('id')); $table->add_key('primary', XMLDB_KEY_PRIMARY, array('id'));
// Conditionally launch add field id. // Conditionally create the table.
if (!$dbman->table_exists($table)) { if (!$dbman->table_exists($table)) {
$dbman->create_table($table); $dbman->create_table($table);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment