| Versionen | |
|---|---|
| drupal6 – drupal7 | hook_uninstall() |
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.
developer-docs/
<?php
function hook_uninstall() {
drupal_uninstall_schema('upload');
variable_del('upload_file_types');
}
?>
Kommentare
Kommentar hinzufügen