MDL-67789 xapi: Add support to save content state
This commit is contained in:
committed by
Sara Arjona
parent
12a8176926
commit
03a4abde0f
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user