<?xml version="1.0" encoding="UTF-8" ?>
- <XMLDB PATH="lib/db" VERSION="20150608" COMMENT="XMLDB file for core Moodle tables"
-<XMLDB PATH="lib/db" VERSION="20150814" COMMENT="XMLDB file for core Moodle tables"
++<XMLDB PATH="lib/db" VERSION="20150824" COMMENT="XMLDB file for core Moodle tables"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
>
upgrade_main_savepoint(true, 2015062500.01);
}
- if ($oldversion < 2015081400.00) {
+ if ($oldversion < 2015081300.01) {
+
+ // Define field importtype to be added to grade_import_values.
+ $table = new xmldb_table('grade_import_values');
+ $field = new xmldb_field('importonlyfeedback', XMLDB_TYPE_INTEGER, '1', null, null, null, '0', 'importer');
+
+ // Conditionally launch add field importtype.
+ if (!$dbman->field_exists($table, $field)) {
+ $dbman->add_field($table, $field);
+ }
+
+ // Main savepoint reached.
+ upgrade_main_savepoint(true, 2015081300.01);
+ }
+
++ if ($oldversion < 2015082400.00) {
+
+ // Define table webdav_locks to be dropped.
+ $table = new xmldb_table('webdav_locks');
+
+ // Conditionally launch drop table for webdav_locks.
+ if ($dbman->table_exists($table)) {
+ $dbman->drop_table($table);
+ }
+
+ // Main savepoint reached.
- upgrade_main_savepoint(true, 2015081400.00);
++ upgrade_main_savepoint(true, 2015082400.00);
+ }
+
return true;
}
defined('MOODLE_INTERNAL') || die();
- $version = 2015082000.00; // YYYYMMDD = weekly release date of this DEV branch.
-$version = 2015081400.00; // YYYYMMDD = weekly release date of this DEV branch.
++$version = 2015082400.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.