MDL-55548 core: fixed misleading comment in upgrade code

This commit is contained in:
Mark Nelson 2017-06-13 21:06:37 +08:00 committed by Dan Poltawski
parent 569907002f
commit f25e2b1dc7

View 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);
}