Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5699070
)
MDL-55548 core: fixed misleading comment in upgrade code
author
Mark Nelson
<markn@moodle.com>
Tue, 13 Jun 2017 13:06:37 +0000
(21:06 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Wed, 14 Jun 2017 11:36:38 +0000
(12:36 +0100)
lib/db/upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/upgrade.php
b/lib/db/upgrade.php
index
8d1c664
..
7798fec
100644
(file)
--- 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);
}