mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'MDL-50723-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
482ebc1786
3 changed files with 16 additions and 24 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?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="20150824" COMMENT="XMLDB file for core Moodle tables"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
|
xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
|
||||||
>
|
>
|
||||||
|
@ -2173,28 +2173,6 @@
|
||||||
<INDEX NAME="courseid-name" UNIQUE="true" FIELDS="courseid, name"/>
|
<INDEX NAME="courseid-name" UNIQUE="true" FIELDS="courseid, name"/>
|
||||||
</INDEXES>
|
</INDEXES>
|
||||||
</TABLE>
|
</TABLE>
|
||||||
<TABLE NAME="webdav_locks" COMMENT="Resource locks for WebDAV users">
|
|
||||||
<FIELDS>
|
|
||||||
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
||||||
<FIELD NAME="token" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="path" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="expiry" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="recursive" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="exclusivelock" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="created" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="modified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
||||||
<FIELD NAME="owner" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
|
|
||||||
</FIELDS>
|
|
||||||
<KEYS>
|
|
||||||
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
||||||
<KEY NAME="token" TYPE="unique" FIELDS="token"/>
|
|
||||||
</KEYS>
|
|
||||||
<INDEXES>
|
|
||||||
<INDEX NAME="path" UNIQUE="false" FIELDS="path"/>
|
|
||||||
<INDEX NAME="expiry" UNIQUE="false" FIELDS="expiry"/>
|
|
||||||
</INDEXES>
|
|
||||||
</TABLE>
|
|
||||||
<TABLE NAME="portfolio_instance" COMMENT="base table (not including config data) for instances of portfolio plugins.">
|
<TABLE NAME="portfolio_instance" COMMENT="base table (not including config data) for instances of portfolio plugins.">
|
||||||
<FIELDS>
|
<FIELDS>
|
||||||
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
||||||
|
|
|
@ -4456,5 +4456,19 @@ function xmldb_main_upgrade($oldversion) {
|
||||||
upgrade_main_savepoint(true, 2015081300.01);
|
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, 2015082400.00);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
$version = 2015082000.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.
|
// RR = release increments - 00 in DEV branches.
|
||||||
// .XX = incremental changes.
|
// .XX = incremental changes.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue