mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue