You are here

function advagg_bundler_enable in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_bundler/advagg_bundler.install \advagg_bundler_enable()

Implements hook_enable().

File

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

Code

function advagg_bundler_enable() {

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