hook_uninstall
Definition
hook_uninstall()
developer/hooks/install.php, line 227
Description
Remove any tables or variables that the module sets.
The uninstall hook will fire when the module gets uninstalled.
Related topics
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
Code
<?php
function hook_uninstall() {
drupal_uninstall_schema('upload');
variable_del('upload_file_types');
}
?> 