Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
is there a delegate for when the plugin is removed(unchecked)?
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.
0
This discussion has been closed.
Comments
$Context->AddToDelegate('ExtensionForm', 'PreExtensionDisable', 'YourUninstallFunction');
And use the ExtensionName delegate parameter to make sure that the code only fires when disabling your extension.