Is there a hook that I can implement in my module so that I can run some clean up code when my module is uninstalled. I create a number of variables using variable_set() and I would like to delete these variables when the module is uninstalled.
Is there a hook that I can implement in my module so that I
Share
Yes there is.
Where you would write an install hook like this :
The uninstall would look like this :