function expire_uninstall in Cache Expiration 6
Same name and namespace in other branches
- 7.2 expire.install \expire_uninstall()
- 7 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_cck_references',
'expire_include_base_url',
);
foreach ($vars as $var) {
variable_del($var);
}
$t = get_t();
drupal_set_message($t('Removed Expire variables'));
}