Merge branch 'MDL-50723-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Dan Poltawski 2015-08-24 14:47:25 +01:00
commit 482ebc1786
3 changed files with 16 additions and 24 deletions

View file

@ -4456,5 +4456,19 @@ function xmldb_main_upgrade($oldversion) {
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;
}