You are here

function expire_uninstall in Cache Expiration 7

Same name and namespace in other branches
  1. 6 expire.install \expire_uninstall()
  2. 7.2 expire.install \expire_uninstall()

Implementation of hook_uninstall().

File

./expire.install, line 11
Install file for expire module

Code

function expire_uninstall() {
  $vars = array(
    'expire_flush_front',
    'expire_flush_node_terms',
    'expire_flush_menu_items',
    'expire_flush_node_references',
    'expire_include_base_url',
  );
  foreach ($vars as $var) {
    variable_del($var);
  }
  $t = get_t();
  drupal_set_message($t('Removed Expire variables'));
}