You are here

function fuzzysearch_uninstall in Fuzzy Search 6

Same name and namespace in other branches
  1. 7 fuzzysearch.install \fuzzysearch_uninstall()

File

./fuzzysearch.install, line 106
Install file for fuzzysearch module.

Code

function fuzzysearch_uninstall() {

  // Remove tables.
  drupal_uninstall_schema('fuzzysearch');

  // Delete settings from variable table.
  $sql = "DELETE FROM {variable} WHERE name LIKE 'fuzzysearch%'";
  db_query($sql);
  drupal_set_message(st('Fuzzysearch module successfully removed.'));
}