Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We should be nice and remove module variables on uninstall.
Tasks
- Create uninstall file
- Add variable_del for each module's variable
Comment | File | Size | Author |
---|---|---|---|
#3 | ga_push-remove_module_variables_on_uninstall-2723211-3.patch | 891 bytes | NitinSP |
|
Comments
Comment #2
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedComment #3
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedCreate new ga_push.install file and include the code to delete configuration variable after uninstalling this module. Please review and merge this changes.
Comment #4
NitinSP CreditAttribution: NitinSP at Clarion Technologies commentedComment #5
GeduR CreditAttribution: GeduR at Metadrop commentedThanks NitinSP, the module doesn't use dynamic variables just 2 so we should just delete that ones (that way we not deleted other module variables by mistake).
Comment #7
GeduR CreditAttribution: GeduR at Metadrop commented