mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-70648 calendar: upgrade step to delete wrong cat events
This commit is contained in:
parent
b9e33cccbf
commit
e8bd3b41a3
@ -2387,5 +2387,11 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2021052500.42);
|
||||
}
|
||||
|
||||
if ($oldversion < 2021052500.53) {
|
||||
$DB->delete_records_select('event', "eventtype = 'category' AND categoryid = 0 AND userid <> 0");
|
||||
|
||||
upgrade_main_savepoint(true, 2021052500.53);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2021052500.52; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2021052500.53; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
$release = '4.0dev (Build: 20210115)'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user