I'm doing some cleaning before a 1.5=>2.1 (or 2.2) upgrade. I'm testing it in a sandbox
In the 1.5 I still have Robbo's Edit History addon installed (disabled).
Once I uninstalled it I can't post anymore as the uninstall is doing this:
protected function _uninstallVersion1()
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?