function countries_configuration_modules_uninstalled in Countries 8
Same name and namespace in other branches
- 7.2 modules/countries_configuration/countries_configuration.module \countries_configuration_modules_uninstalled()
Implements hook_modules_uninstalled().
This keeps the {countries_data} clean of old module data.
File
- modules/
countries_configuration/ countries_configuration.module, line 99 - Provides the base framework for integration for storing country specific data on behalf of other modules.
Code
function countries_configuration_modules_uninstalled($modules) {
foreach ($modules as $module) {
db_delete('countries_data')
->condition('module', $module)
->execute();
}
}