You are here

function advagg_pre_flush_all_caches in Advanced CSS/JS Aggregation 7.2

Implements hook_pre_flush_all_caches().

Related topics

File

./advagg.module, line 1468
Advanced CSS/JS aggregation module.

Code

function advagg_pre_flush_all_caches() {
  static $run_once;
  if (!isset($run_once)) {
    $run_once = TRUE;

    // Only invoked by registry_rebuild.
    module_load_include('admin.inc', 'advagg');

    // Truncate the advagg_files table.
    advagg_admin_truncate_advagg_files();
  }
}