You are here

function book_helper_uninstall in Book helper 7

Same name and namespace in other branches
  1. 6 book_helper.install \book_helper_uninstall()

Implements hook_uninstall().

File

./book_helper.install, line 24
Install and uninstall functions for the 'Book helper' module.

Code

function book_helper_uninstall() {

  // Delete all the book helper variables and then clear the variable cache.
  db_delete('variable')
    ->condition('name', 'book_helper_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}