function views_ui_break_lock_confirm_submit

Submit handler to break_lock a view.

File

includes/admin.inc, line 884

Code

function views_ui_break_lock_confirm_submit(&$form, &$form_state) {
    ctools_object_cache_clear_all('view', $form_state['view']->name);
    $form_state['redirect'] = 'admin/structure/views/view/' . $form_state['view']->name . '/edit';
    drupal_set_message(t('The lock has been broken and you may now edit this view.'));
}