You are here

function nodewords_custom_pages_confirm_delete_submit in Nodewords: D6 Meta Tags 6

Same name and namespace in other branches
  1. 6.2 nodewords_custom_pages/nodewords_custom_pages.admin.inc \nodewords_custom_pages_confirm_delete_submit()

Submit processor for the confirm-delete page.

File

./nodewords.admin.inc, line 27
Administration interface for nodewords.module.

Code

function nodewords_custom_pages_confirm_delete_submit($form, &$form_state) {
  nodewords_delete_tags(NODEWORDS_TYPE_PAGE, $form_state['values']['pid']);
  if (db_affected_rows()) {
    drupal_set_message(t('The configuration options have been saved.'), 'status');
  }
  $form_state['redirect'] = 'admin/content/nodewords/meta-tags/custom';
}