Hooks not removed when package uninstalled
Testing with spuds hideusernames packages (and my own package) I noticed that after uninstalling the package the integrate_xxx hook variables are still set in the settings table of the database.
Re: Hooks not removed when package uninstalled
Reply #3 –
I tested with spuds hide user names package. You can find a copy attached in the thread about errors installing a package.
Re: Hooks not removed when package uninstalled
Reply #4 –
I see the problem. I believe you have already fixed it just in a later version of the trunk than I have.
In remove_integration_hook
if (strpos($funcfile, '|') !== false) should be if (strpos($filefunc, '|') !== false)
Not sure if you care about this, but if the last function for a particular hook is removed the database entry still exists just with an empty value.