From: Mark Nelson Date: Tue, 13 Jun 2017 13:06:37 +0000 (+0800) Subject: MDL-55548 core: fixed misleading comment in upgrade code X-Git-Tag: v3.4.0-beta~793^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=f25e2b1dc772346ddfb44b02e9d3946d727c4adb MDL-55548 core: fixed misleading comment in upgrade code --- diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 8d1c664b053..7798fecf760 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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); }