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.
Hi,
I'm not sure if this is a bug, but here it is:
After disabling the module, I go to /admin/build/modules/uninstall and there is no option to unistall Javascript Aggregator.
Is this how it's supposed to be?
Won't there be dorman tables left-over in case people want to disable and delete this module?
Comments
Comment #1
derjochenmeyer CreditAttribution: derjochenmeyer commentedHI drupalin, there are no tables created by this module... many drupal modules dont have an uninstall option...
Comment #2
Island Usurper CreditAttribution: Island Usurper commentedHowever, there are still variables left in the variable table. Even worse, these are all loaded into memory from the cache whether they are needed or not. Only modules that don't have any configuration options don't need an uninstall function.
Comment #3
Island Usurper CreditAttribution: Island Usurper commentedComment #4
RobLoachhttp://drupal.org/cvs?commit=149735
The newly added hook_uninstall in javascript_aggregator.install clears the cached JavaScript as well as deletes the variables.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
derjochenmeyer CreditAttribution: derjochenmeyer commentedIt seems the uninstall didnt delete the htaccess file. This code above fixes it. I'll rework this into a patch later and commit it to dev.
Comment #7
derjochenmeyer CreditAttribution: derjochenmeyer commentedBetter title.
Comment #8
derjochenmeyer CreditAttribution: derjochenmeyer commentedCommitted to 6.x-1.x-dev