You are here

function advagg_css_compress_uninstall in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_css_compress/advagg_css_compress.install \advagg_css_compress_uninstall()

Implementation of hook_uninstall().

File

advagg_css_compress/advagg_css_compress.install, line 40
Handles AdvAgg CSS compress installation and upgrade tasks.

Code

function advagg_css_compress_uninstall() {

  // Remove variables.
  variable_del('advagg_css_compress_compressor_level');
  variable_del('advagg_css_compress_preserve_css');
  variable_del('advagg_css_compress_inline_cache');
  variable_del('advagg_css_compress_agg_files');
  variable_del('advagg_css_compress_inline');
  variable_del('advagg_css_compressor');

  // Remove our cache table.
  cache_clear_all('*', 'cache_advagg_css_compress_inline', TRUE);
  drupal_uninstall_schema('advagg_css_compress');
}