function advagg_js_compress_uninstall in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 6 advagg_js_compress/advagg_js_compress.install \advagg_js_compress_uninstall()
Implements hook_uninstall().
File
- advagg_js_compress/
advagg_js_compress.install, line 44 - Handles AdvAgg JS compress installation and upgrade tasks.
Code
function advagg_js_compress_uninstall() {
// Remove variables.
variable_del('advagg_js_compress_packer_enable');
variable_del('advagg_js_compress_inline_cache');
variable_del('advagg_js_compress_file_cache');
variable_del('advagg_js_compress_agg_files');
variable_del('advagg_js_max_compress_ratio');
variable_del('advagg_js_compress_callback');
variable_del('advagg_js_compress_inline');
variable_del('advagg_js_compress_ratio');
variable_del('advagg_js_compressor');
// Remove our cache table.
cache_clear_all('*', 'cache_advagg_js_compress_inline', TRUE);
cache_clear_all('*', 'cache_advagg_js_compress_file', TRUE);
// TODO The drupal_(un)install_schema functions are called automatically in D7.
// drupal_uninstall_schema('advagg_js_compress')
}