Merge branch 'MDL-55548_master' of git://github.com/markn86/moodle
authorDan Poltawski <dan@moodle.com>
Mon, 12 Jun 2017 08:59:04 +0000 (09:59 +0100)
committerDan Poltawski <dan@moodle.com>
Mon, 12 Jun 2017 09:00:24 +0000 (10:00 +0100)
1  2 
lib/db/upgrade.php
version.php

@@@ -2865,5 -2865,17 +2865,17 @@@ function xmldb_main_upgrade($oldversion
      // Automatically generated Moodle v3.3.0 release upgrade line.
      // Put any upgrade step following this.
  
 -    if ($oldversion < 2017061200.00) {
++    if ($oldversion < 2017061201.00) {
+         $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.
+         if (!$dbman->field_exists($table, $field)) {
+             $dbman->add_field($table, $field);
+         }
 -        upgrade_main_savepoint(true, 2017061200.00);
++        upgrade_main_savepoint(true, 2017061201.00);
+     }
      return true;
  }
diff --cc version.php
@@@ -29,7 -29,7 +29,7 @@@
  
  defined('MOODLE_INTERNAL') || die();
  
- $version  = 2017060800.01;              // YYYYMMDD      = weekly release date of this DEV branch.
 -$version  = 2017061200.00;              // YYYYMMDD      = weekly release date of this DEV branch.
++$version  = 2017061201.00;              // YYYYMMDD      = weekly release date of this DEV branch.
                                          //         RR    = release increments - 00 in DEV branches.
                                          //           .XX = incremental changes.