You are here

function advagg_update_6107 in Advanced CSS/JS Aggregation 6

Update 6107 - Remove the cache_advagg_file_builder cache table.

File

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

Code

function advagg_update_6107() {
  $ret = array();
  if (db_table_exists('cache_advagg_file_builder')) {
    cache_clear_all('*', 'cache_advagg_file_builder', TRUE);
    $ret[] = array(
      'success' => TRUE,
      'query' => 'advagg file_builder cache flushed.',
    );
    db_drop_table($ret, 'cache_advagg_file_builder');
  }
  return $ret;
}