You are here

function custom_search_taxonomy_uninstall in Custom Search 7

Same name and namespace in other branches
  1. 6 modules/custom_search_taxonomy/custom_search_taxonomy.install \custom_search_taxonomy_uninstall()

Implements hook_uninstall().

File

modules/custom_search_taxonomy/custom_search_taxonomy.install, line 21
Install, update, and uninstall functions for the custom search module.

Code

function custom_search_taxonomy_uninstall() {
  db_delete('variable')
    ->condition('name', 'custom_search_voc%', 'LIKE')
    ->execute();
  db_delete('variable')
    ->condition('name', 'custom_search_taxonomy%', 'LIKE')
    ->execute();
  db_delete('variable')
    ->condition('name', 'custom_search_blocks_%_voc%', 'LIKE')
    ->execute();
  db_delete('variable')
    ->condition('name', 'custom_search_blocks_%_taxonomy%', 'LIKE')
    ->execute();
}