You are here

function search_log_uninstall in Search Log 6

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

Implementation of hook_uninstall().

File

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

Code

function search_log_uninstall() {
  drupal_uninstall_schema('search_log');
  db_query("DELETE FROM {variable} WHERE name LIKE 'search_log_%'");
  cache_clear_all('variables', 'cache');
  drupal_set_message(t('Search log table and variables removed.'));
}