Display what files where deleted in a drupal message.

Related topics

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

File

./advagg.admin.inc, line 1879

Code

function advagg_admin_clear_file_aggregate_submit($form, &$form_state) {
    // @codingStandardsIgnoreLine
    if (!empty($form_state['input']['ajax_page_state'])) {
        return;
    }
    $info = advagg_admin_clear_file_aggregates($form_state['values']['filename']);
    if (module_exists('httprl')) {
        $output = httprl_pr($info);
    }
    else {
        $output = '<pre>' . check_plain(print_r($info, TRUE)) . '</pre>';
    }
    // @ignore security_dsm
    drupal_set_message($output);
}