You are here

function simplemeta_meta_delete_confirm_submit in Simple Meta 6.2

Same name and namespace in other branches
  1. 7 simplemeta.admin.inc \simplemeta_meta_delete_confirm_submit()

File

./simplemeta.admin.inc, line 57

Code

function simplemeta_meta_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    simplemeta_meta_delete($form_state['values']['sid']);
    cache_clear_all('*', 'cache_simplemeta', TRUE);
  }
  $form_state['redirect'] = 'admin/content/simplemeta/list';
}