I noticed that when uninstalling an AddOn the behavior of XF2 differs between Admin CP and CLI.
When uninstalling via Backend, the class extensions seem to be valid until the very last step has passed. In CLI mode this is not the case and you will be given something like "The site is currently...
When uninstalling a mod I've created, I need to recache information in the dataRegistry, but only after the mod's listeners have been removed.
Is this possible inside my mod's uninstall callback?
If I uninstall an addon, I noticed that some unistallations remove the tables form the database, others don't.
Is this a problem?
Is there a best practice?
e,g, should I uninstall the addon, then remove the addons files from library, and the tables from database?