Implements hook_pre_flush_all_caches().

Sujets associés

Fichier

./advagg.module, line 1469

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();
    }
}