MDL-58866 core_calendar: allow component events

This commit is contained in:
Marina Glancy
2020-05-19 19:04:13 +02:00
parent 1afe68f382
commit 1a972b06f1
30 changed files with 201 additions and 71 deletions
+1
View File
@@ -206,6 +206,7 @@ function uninstall_plugin($type, $name) {
// delete calendar events
$DB->delete_records('event', array('modulename' => $pluginname));
$DB->delete_records('event', ['component' => $component]);
// Delete scheduled tasks.
$DB->delete_records('task_scheduled', array('component' => $component));