Remove uninstalled mdules from database on next update by notifier

EgonO - March 12, 2009 - 15:34
Project:Update status aggregator
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm thinking about a function to remove uninstalled modules from aggregator-database. is there any hook or something to do so?!

sometimes drupal 5 modules get unsupported and i uninstall them for security reasons but the module stays on the aggregator site and database.

there is a drupal function in d5 & d6 named "drupal_uninstall_module" but there seems not to be a hook into it. any ideas on how to fire a function on every modul-uninstallation?

#1

yrocq - March 12, 2009 - 16:47

I plan to rewrite update status aggregator so that the list of all modules will be deleted and regenerated each time the notifier send informations. It will fix the problem of module still here after having been disabled. You can check the code in the CVS (branche DRUPAL-5--2) .

 
 

Drupal is a registered trademark of Dries Buytaert.