You are here

function book_uninstall in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/book/book.install \book_uninstall()
  2. 5 modules/book/book.install \book_uninstall()
  3. 7 modules/book/book.install \book_uninstall()
  4. 9 core/modules/book/book.install \book_uninstall()

Implementation of hook_uninstall().

File

modules/book/book.install, line 16

Code

function book_uninstall() {

  // Delete menu links.
  db_query("DELETE FROM {menu_links} WHERE module = 'book'");
  menu_cache_clear_all();

  // Remove tables.
  drupal_uninstall_schema('book');
}