Truncate the advagg_files table and clear caches.

Related topics

1 call to advagg_admin_truncate_advagg_files()
advagg_pre_flush_all_caches in ./advagg.module
Implements hook_pre_flush_all_caches().
1 string reference to 'advagg_admin_truncate_advagg_files'
advagg_admin_operations_form in ./advagg.admin.inc
Form builder; Do advagg operations.

File

./advagg.admin.inc, line 1754

Code

function advagg_admin_truncate_advagg_files() {
    // Truncate advagg_files table.
    db_truncate('advagg_files')->execute();
    variable_del('javascript_parsed');
    drupal_set_message(t('All files from the advagg_files table have been removed.'));
    // Clear out the cache.
    advagg_admin_clear_all_caches_button();
}