You are here

function advagg_css_compress_uninstall in Advanced CSS/JS Aggregation 7

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

Implements hook_uninstall().

File

advagg_css_compress/advagg_css_compress.install, line 41
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);

  // TODO The drupal_(un)install_schema functions are called automatically in D7.
  // drupal_uninstall_schema('advagg_css_compress')
}