You are here

function scanner_confirm_form_submit in Search and Replace Scanner 5.2

Same name and namespace in other branches
  1. 6 scanner.module \scanner_confirm_form_submit()
  2. 7 scanner.module \scanner_confirm_form_submit()

Submission handling for scanner confirmation form.

File

./scanner.module, line 517
Search and Replace Scanner - works on all nodes text content.

Code

function scanner_confirm_form_submit($form_id, $form_values) {
  if ($form_values['op'] == t('Yes, Continue')) {
    $_SESSION['scanner_status'] = SCANNER_STATUS_GO_REPLACE;
  }
  else {
    unset($_SESSION['scanner_status']);
  }
  return 'admin/content/scanner';
}