i just wondering if there a delegate to call when admins uncheck/remove the plugin? because some of the plugin will create databases table, it would be nice to have a delegate to call when the plugin is remove, so i can add some function in there to delete those tables.
You can find it in Framework/Framework.Control.ExtensionForm.php:$Context->AddToDelegate('ExtensionForm', 'PreExtensionDisable', 'YourUninstallFunction'); And use the ExtensionName delegate parameter to make sure that the code only fires when disabling your extension.