Closed (fixed)
Project:
Javascript Aggregator
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Apr 2008 at 10:39 UTC
Updated:
7 Jan 2011 at 00:30 UTC
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 commentedHI drupalin, there are no tables created by this module... many drupal modules dont have an uninstall option...
Comment #2
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 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) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
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 commentedBetter title.
Comment #8
derjochenmeyer commentedCommitted to 6.x-1.x-dev