Skip to content

Commit

Permalink
MDL-46282 core: Add VERP API
Browse files Browse the repository at this point in the history
This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
  • Loading branch information
andrewnicols committed Sep 30, 2014
1 parent d07b030 commit 6c0bfb1
Show file tree
Hide file tree
Showing 11 changed files with 1,807 additions and 3 deletions.
7 changes: 7 additions & 0 deletions lib/adminlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@ function uninstall_plugin($type, $name) {
// Delete scheduled tasks.
$DB->delete_records('task_scheduled', array('component' => $pluginname));

// Delete Inbound Message datakeys.
$DB->delete_records_sql('messageinbound_datakeys',
'handler IN (SELECT id FROM {messageinbound_handlers} WHERE component = ?)', array($pluginname));

// Delete Inbound Message handlers.
$DB->delete_records('messageinbound_handlers', array('component' => $pluginname));

// delete all the logs
$DB->delete_records('log', array('module' => $pluginname));

Expand Down
Loading

0 comments on commit 6c0bfb1

Please sign in to comment.