hook_uninstall

Versions
5 – 7
hook_uninstall()

Remove any tables or variables that the module sets.

The uninstall hook will fire when the module gets uninstalled.

Related topics

Code

developer/hooks/install.php, line 294

<?php
function hook_uninstall() {
  drupal_uninstall_schema('upload');
  variable_del('upload_file_types');
}
?>
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.