You are here

function advagg_css_compress_enable in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg_css_compress/advagg_css_compress.install \advagg_css_compress_enable()

Implementation of 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);
  }
}