mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-67038_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
61bf77ff9a
4 changed files with 19 additions and 4 deletions
|
@ -3754,5 +3754,14 @@ function xmldb_main_upgrade($oldversion) {
|
|||
upgrade_main_savepoint(true, 2019102500.04);
|
||||
}
|
||||
|
||||
if ($oldversion < 2019103000.13) {
|
||||
|
||||
$DB->execute("UPDATE {analytics_models} set contextids = null
|
||||
WHERE contextids = :zero or contextids = :null", ['zero' => '0', 'null' => 'null']);
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2019103000.13);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue