mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-55548 core: fixed misleading comment in upgrade code
This commit is contained in:
parent
569907002f
commit
f25e2b1dc7
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user