In addition to tracking when modules are installed, enabled, disabled, and uninstalled, Enabled Modules could provide the ability to purge uninstalled modules from the system table entirely.

(Thought of this reading catch's notes on Drupal performance.)

Comments

juliangb’s picture

I think this sounds like a great idea.

A couple of questions though:

- You've previously described Enabled Modules as something that "looks but doesn't touch" - is this a shift of opinion or just an idea to provide the links to enact other modules' functionality?

- How are you imaginging this to work in practice? Would there be a link to the uninstall modules screen? A link by each module where the code is missing to delete the rows from the system table?

mlncn’s picture

- i guess a shift. Would be good to have this database-affecting functionality in a sub-module, perhaps, to make the look-vs-action difference clear.

- a checkbox when uninstalling would be a cool addition, but easier and more in line with Enabled Modules interface would be delete checkboxes for all modules missing code. Some kind of visual warning for *installed* modules missing code, as opposed to uninstalled (which is safer to remove from the system table, as all other cleanup should have been done already) would be a nice plus.