You are here

function advagg_update_6105 in Advanced CSS/JS Aggregation 6

Update 6105 - Remove strict JS variable and reset 2 advagg caches.

File

./advagg.install, line 829
Handles Advanced Aggregation installation and upgrade tasks.

Code

function advagg_update_6105() {
  $ret = array();
  variable_del('advagg_strict_js_bundles');
  cache_clear_all('*', 'cache_advagg_bundle_reuse', TRUE);
  cache_clear_all('*', 'cache_advagg_file_builder', TRUE);
  $ret[] = array(
    'success' => TRUE,
    'query' => 'advagg bundle_reuse & file_builder caches flushed.',
  );
  return $ret;
}