You are here

function fieldset_helper_uninstall in Fieldset helper 6

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

Implementation of hook_uninstall().

File

./fieldset_helper.install, line 26
Installation information for the 'Fieldset helper' module.

Code

function fieldset_helper_uninstall() {

  // Delete all the fieldset_helper variables and then clear the variable cache
  db_query("DELETE FROM {variable} WHERE name LIKE 'fieldset_helper_%'");
  cache_clear_all('variables', 'cache');
  drupal_uninstall_schema('fieldset_helper');
}