drupal_uninstall_module

Versions
5 – 6
drupal_uninstall_module($module)

Calls the uninstall function and updates the system table for a given module.

Parameters

$module The module to uninstall.

Code

includes/install.inc, line 360

<?php
function drupal_uninstall_module($module) {
  module_load_install($module);
  module_invoke($module, 'uninstall');
  drupal_set_installed_schema_version($module, SCHEMA_UNINSTALLED);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.