You are here

function search_files_directories_uninstall in Search Files 7.2

Same name and namespace in other branches
  1. 6.2 search_files_directories.install \search_files_directories_uninstall()

File

./search_files_directories.install, line 181
Installation and update procedures for the search directories module.

Code

function search_files_directories_uninstall() {
  db_query("DELETE FROM {search_dataset} WHERE type = 'search_files_dir'");
  db_query("DELETE FROM {search_index} WHERE type = 'search_files_dir'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'search_files_directories_%'");
  variable_set('search_default_module', 'node');
}