Implements hook_advagg_missing_root_file().
Related topics
File
-
advagg_sri/
advagg_sri.advagg.inc, line 97
Code
function advagg_sri_advagg_missing_root_file($aggregate_filename, $filename, $cache) {
// Remove entries from the DB.
if (!empty($aggregate_filename) && !empty($cache)) {
advagg_sri_del_filename_hashes($aggregate_filename);
}
// Remove entries from the Cache.
$ext = strtolower(pathinfo($aggregate_filename, PATHINFO_EXTENSION));
$cid = "advagg:{$ext}:";
cache_clear_all($cid, 'cache_advagg_aggregates', TRUE);
}