Clear out all advagg aggregated files.

Related topics

1 string reference to 'advagg_admin_clear_all_files_button'
advagg_admin_operations_form in ./advagg.admin.inc
Form builder; Do advagg operations.

File

./advagg.admin.inc, line 1652

Code

function advagg_admin_clear_all_files_button() {
    // Run the command.
    module_load_include('inc', 'advagg', 'advagg.cache');
    list($css_files, $js_files) = advagg_remove_all_aggregated_files();
    // Report back the results.
    drupal_set_message(t('All AdvAgg files have been deleted. %css_count CSS files and %js_count JS files have been removed.', array(
        '%css_count' => count($css_files),
        '%js_count' => count($js_files),
    )));
}