You are here

function advagg_bundler_disable in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_bundler/advagg_bundler.install \advagg_bundler_disable()

Implements hook_disable().

File

advagg_bundler/advagg_bundler.install, line 29
Handles AdvAgg Bundler installation and upgrade tasks.

Code

function advagg_bundler_disable() {

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