Closed (fixed)
Project:
Terms of Use
Version:
6.x-1.9
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
4 Dec 2008 at 13:50 UTC
Updated:
6 Apr 2009 at 21:30 UTC
Thanks for the handy module. You should add .install file which will remove all the variables defined.
Comments
Comment #1
Chill35 commentedThe module needs no .install file because it creates no table entry.As far the system variables it uses, an install file will have no impact on that. To re-init these values to their 'manufacture' defaults, visit the module's config page. Otherwise, if you stop using the module, just disable it, and don't worry about a thing.Shit, HOOK_uninstall can delete the variables entries used by a module.
http://api.drupal.org/api/function/hook_uninstall/6
Thanks.
Comment #2
amitaibuThis is incorrect - have a look in Devel module for example implementing http://api.drupal.org/api/function/variable_del in hook_uninstall().
Comment #3
Chill35 commentedThanks, Amitaibu,
I am giving the module some love this afternoon, so I will look into this. Several months later.
Nevernot too late to do the right thing.Comment #4
Chill35 commented