You are here

function search_log_uninstall in Search Log 7

Same name and namespace in other branches
  1. 8 search_log.install \search_log_uninstall()
  2. 6 search_log.install \search_log_uninstall()

Implements hook_uninstall().

File

./search_log.install, line 89
Install file for Search log.

Code

function search_log_uninstall() {
  db_delete('variable')
    ->condition('name', 'search_log_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache');
  drupal_set_message(t('Search log table and variables removed.'));
}