You are here

function advagg_relocate_flush_cache_button in Advanced CSS/JS Aggregation 7.2

Perform a cache flush of the advagg relocate module.

1 string reference to 'advagg_relocate_flush_cache_button'
advagg_relocate_admin_form_advagg_admin_operations_form in advagg_relocate/advagg_relocate.admin.inc
Add a cache clear button to the advagg operations form.

File

advagg_relocate/advagg_relocate.module, line 1347
Advanced aggregation relocate module.

Code

function advagg_relocate_flush_cache_button() {
  cache_clear_all('advagg_relocate_', 'cache_advagg_info', TRUE);
  drupal_set_message(t('AdvAgg Relocate Cache Cleared.'));
}