function book_uninstall
Same name and namespace in other branches
- 6.x drupal-6.x/modules/book/book.install \book_uninstall()
Implements hook_uninstall().
Archivo
- drupal-7.x/
modules/ book/ book.install, line 19 - Install, update and uninstall functions for the book module.
Código
function book_uninstall() {
variable_del('book_allowed_types');
variable_del('book_child_type');
variable_del('book_block_mode');
// Delete menu links.
db_delete('menu_links')->condition('module', 'book')->execute();
menu_cache_clear_all();
}