You are here

function advagg_css_compress_enable 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_enable()

Implements hook_enable().

File

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

Code

function advagg_css_compress_enable() {

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