You are here

function term_search_uninstall in Term Search 7

Implements hook_uninstall().

File

./term_search.install, line 10
Functions to for when the modules is installed or uninstalled.

Code

function term_search_uninstall() {
  variable_del('term_search_indexed_vocabularies');
  db_delete('search_dataset')
    ->condition('type', 'term')
    ->execute();
  db_delete('search_index')
    ->condition('type', 'term')
    ->execute();
}