Verify that the filename is correct.

Related topics

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

File

./advagg.admin.inc, line 1869

Code

function advagg_admin_clear_file_aggregate_validate($form, &$form_state) {
    if (empty($form_state['values']['filename'])) {
        form_set_error('filename', t('Please input a filename.'));
        $form_state['values']['error'] = TRUE;
    }
}