You are here

function search_files_uninstall in Search Files 5

Same name and namespace in other branches
  1. 6.2 search_files.install \search_files_uninstall()
  2. 7.2 search_files.install \search_files_uninstall()

Implementation of hook_uninstall().

File

./search_files.install, line 85

Code

function search_files_uninstall() {
  db_query('DROP TABLE {search_files_directories}');
  db_query('DROP TABLE {search_files_files}');
  db_query('DROP TABLE {search_files_helpers}');
  db_query('DROP TABLE {search_files_reindex}');
  db_query('DELETE FROM {search_dataset} WHERE TYPE LIKE "search_files"');
  db_query('DELETE FROM {search_index} WHERE TYPE LIKE "search_files"');
  variable_del('search_files_label');
}