Clear out all advagg cache bins and increment the counter.

Sujets associés

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

Fichier

./advagg.admin.inc, line 1707

Code

function advagg_admin_increment_global_counter() {
    // Clear out the cache.
    advagg_admin_clear_all_caches_button();
    // Increment counter.
    module_load_include('inc', 'advagg', 'advagg.cache');
    $new_value = advagg_increment_global_counter();
    drupal_set_message(t('Global counter is now set to %new_value', array(
        '%new_value' => $new_value,
    )));
}