function advagg_admin_reset_mtime in Advanced CSS/JS Aggregation 7.2
Clear out all advagg cache bins and increment the counter.
Related topics
1 string reference to 'advagg_admin_reset_mtime'
- advagg_admin_operations_form in ./
advagg.admin.inc - Form builder; Do advagg operations.
File
- ./
advagg.admin.inc, line 1720 - Admin page callbacks for the advanced CSS/JS aggregation module.
Code
function advagg_admin_reset_mtime() {
// Reset mtime.
db_update('advagg_files')
->fields(array(
'mtime' => 0,
))
->execute();
drupal_set_message(t('All files have been rescanned.'));
// Smart cache clear.
advagg_admin_flush_cache_button();
// Clear out the cache.
advagg_admin_clear_all_caches_button();
}