MDL-67789 xapi: Add support to save content state

This commit is contained in:
Ferran Recio
2023-03-15 09:42:18 +01:00
committed by Sara Arjona
parent 12a8176926
commit 03a4abde0f
29 changed files with 3352 additions and 53 deletions
+5
View File
@@ -237,6 +237,11 @@ function uninstall_plugin($type, $name) {
unset_all_config_for_plugin($pluginname);
}
// Wipe any xAPI state information.
if (core_xapi\handler::supports_xapi($component)) {
core_xapi\api::remove_states_from_component($component);
}
// delete message provider
message_provider_uninstall($component);