You are here

function beautytips_uninstall in BeautyTips 6.2

Same name and namespace in other branches
  1. 8 beautytips.install \beautytips_uninstall()
  2. 7.2 beautytips.install \beautytips_uninstall()

Implementation of hook_uninstall().

File

./beautytips.install, line 26
beautyTips install/uninstall hooks

Code

function beautytips_uninstall() {
  $variables = array(
    'beautytips_always_add',
    'beautytips_added_selectors_array',
    'beautytips_default_style',
    'beautytips_custom_style',
    'beautytips_defaults',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
  cache_clear_all('beautytips:beautytips-styles', 'cache');
}