function hook_uninstall
Search API
This hook will be executed when a module is "uninstalled" in the system. Once a module is disabled, an "uninstall" link will appear.
It is expected to go in a PHP file named [module].install. Ex: system.install
See also
hook_update($old_schema, $new_schema)
File
- includes/
hook.api.php, line 486 - Lists all available hooks within FlightPath's core code.
Code
function hook_uninstall() {
db_query("DROP TABLE mycustomtable ... ");
}