mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-46282 core: Correct deletion of message datakeys
This issue is a part of the MDL-47194 Task. This issue is a part of the MDL-39707 Epic.
This commit is contained in:
parent
ed3e85755c
commit
390485058e
@ -203,7 +203,7 @@ function uninstall_plugin($type, $name) {
|
||||
$DB->delete_records('task_scheduled', array('component' => $pluginname));
|
||||
|
||||
// Delete Inbound Message datakeys.
|
||||
$DB->delete_records_sql('messageinbound_datakeys',
|
||||
$DB->delete_records_select('messageinbound_datakeys',
|
||||
'handler IN (SELECT id FROM {messageinbound_handlers} WHERE component = ?)', array($pluginname));
|
||||
|
||||
// Delete Inbound Message handlers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user