You are here

function advagg_js_compress_disable in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_js_compress/advagg_js_compress.install \advagg_js_compress_disable()

Implements hook_disable().

File

advagg_js_compress/advagg_js_compress.install, line 25
Handles AdvAgg JS compress installation and upgrade tasks.

Code

function advagg_js_compress_disable() {

  // Flush advagg caches.
  $cache_tables = advagg_flush_caches();
  foreach ($cache_tables as $table) {
    cache_clear_all('*', $table, TRUE);
  }
}