MDL-76583 core: Update uses of external_* classes

This commit is contained in:
Andrew Nicols
2023-01-19 07:34:09 +08:00
parent 3e1920966c
commit a3cc26f8bb
382 changed files with 4067 additions and 4443 deletions
+3 -4
View File
@@ -205,11 +205,10 @@ function uninstall_plugin($type, $name) {
}
$plugininfo = null;
// perform clean-up task common for all the plugin/subplugin types
// Perform clean-up task common for all the plugin/subplugin types.
//delete the web service functions and pre-built services
require_once($CFG->dirroot.'/lib/externallib.php');
external_delete_descriptions($component);
// Delete the web service functions and pre-built services.
\core_external\util::delete_service_descriptions($component);
// delete calendar events
$DB->delete_records('event', array('modulename' => $pluginname));