scaffolding_example_uninstall
- Versions
- 7
scaffolding_example_uninstall()
Implementation of hook_uninstall().
This hook is called when the already-disabled module is explicitly uninstalled by the administrator -- simple disabling the module will trigger hook_disable(). It should delete any database tables added by the module, remove any variables that are unique to the module, and clear out any cached data.
Code
developer/examples/scaffolding_example/scaffolding_example.install, line 101
<?php
function scaffolding_example_uninstall() {
drupal_uninstall_schema('scaffolding_example');
cache_clear_all('scaffolding_example:*', 'cache', TRUE);
variable_del('scaffolding_example_setting');
}
?>Login or register to post comments 