book_uninstall
function book_uninstall
book_uninstall()
Implements hook_uninstall().
File
- modules/book/book.install, line 19
- Install, update and uninstall functions for the book module.
Code
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(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!book!book.install/function/book_uninstall/7.x