function book_uninstall

7.x book.install book_uninstall()
6.x book.install book_uninstall()

Implementation of hook_uninstall().

File

drupal-6.x/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');
}