function drupal_uninstall_module in Drupal 5
Same name and namespace in other branches
- 6 includes/install.inc \drupal_uninstall_module()
Calls the uninstall function and updates the system table for a given module.
Parameters
$module: The module to uninstall.
1 call to drupal_uninstall_module()
- system_modules_uninstall_submit in modules/
system/ system.module - Processes the submitted uninstall form.
File
- includes/
install.inc, line 360
Code
function drupal_uninstall_module($module) {
module_load_install($module);
module_invoke($module, 'uninstall');
drupal_set_installed_schema_version($module, SCHEMA_UNINSTALLED);
}