Implements hook_advagg_files_table().
Fichier
-
advagg_js_compress/
advagg_js_compress.module, line 94
Code
function advagg_js_compress_advagg_files_table($row, $checksum) {
// IF the file has changed, test it's compressibility.
if ($row['filetype'] = 'js' && $checksum != $row['checksum']) {
$files_to_test[] = array(
'md5' => $row['filename_md5'],
'filename' => $row['filename'],
);
advagg_js_compress_test_compression($files_to_test);
}
}