You are here

function _agrcache_clear_file_list in Aggregate cache 7

Clear the file list.

1 call to _agrcache_clear_file_list()
agrcache_flush_caches in ./agrcache.module
Implements hook_flush_caches().

File

./agrcache.module, line 545
Provides imagecache style generation of css/js aggregates.

Code

function _agrcache_clear_file_list() {
  if (variable_get('preprocess_css') || variable_get('preprocess_js')) {
    $file_list = array(
      'files' => array(),
      'callbacks' => array(),
    );
    foreach (array(
      'js',
      'css',
    ) as $type) {
      cache_clear_all("agrcache_file_list_{$type}", "cache");
    }
  }
}