MDL-41437 fix non-functional message processor uninstall
[moodle.git] / lib / adminlib.php
index 621083e..861a9ef 100644 (file)
@@ -315,11 +315,6 @@ function uninstall_plugin($type, $name) {
     // delete message provider
     message_provider_uninstall($component);
 
-    // delete message processor
-    if ($type === 'message') {
-        message_processor_uninstall($name);
-    }
-
     // delete the plugin tables
     $xmldbfilepath = $plugindirectory . '/db/install.xml';
     drop_plugin_tables($component, $xmldbfilepath, false);