function views_ui_delete1_confirm_submit in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 includes/convert.inc \views_ui_delete1_confirm_submit()
Submit handler to delete a view.
File
- includes/
convert.inc, line 164 - convert.inc
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';
}