MDL-55548 core: fixed misleading comment in upgrade code
authorMark Nelson <markn@moodle.com>
Tue, 13 Jun 2017 13:06:37 +0000 (21:06 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 14 Jun 2017 11:36:38 +0000 (12:36 +0100)
lib/db/upgrade.php

index 8d1c664..7798fec 100644 (file)
@@ -2869,7 +2869,7 @@ function xmldb_main_upgrade($oldversion) {
         $table = new xmldb_table('course_sections');
         $field = new xmldb_field('timemodified', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, '0', 'availability');
 
-        // Define a field 'timemodified' in the 'course_sections' table, to background deletion tasks.
+        // Define a field 'timemodified' in the 'course_sections' table.
         if (!$dbman->field_exists($table, $field)) {
             $dbman->add_field($table, $field);
         }