You are here

function search_files_attachments_uninstall in Search Files 6.2

Same name and namespace in other branches
  1. 7.2 search_files_attachments.install \search_files_attachments_uninstall()

File

./search_files_attachments.install, line 41
Installation and update procedures for the search_attachments module.

Code

function search_files_attachments_uninstall() {
  db_query("DELETE FROM {search_dataset} WHERE type = 'search_files_att'");
  db_query("DELETE FROM {search_index} WHERE type = 'search_files_att'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'search_files_attachments_%'");
}