hook_uninstall()
drupal-cvs/modules/system/system.api.php, line 1500
Remove any information that the module sets.
The information that the module should remove includes:
The uninstall hook will fire when the module gets uninstalled.
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
<?php
function hook_uninstall() {
drupal_uninstall_schema('upload');
variable_del('upload_file_types');
}
?>