function views_ui_delete1_confirm_submit

Submit handler to delete a view.

File

includes/convert.inc, line 164

Code

function views_ui_delete1_confirm_submit(&$form, &$form_state) {
    views1_delete($form_state['vid']);
    drupal_set_message(t('The view has been deleted'));
    $form_state['redirect'] = 'admin/build/views/tools/convert';
}