mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue