You are here

function autoban_analyze_form_submit in Automatic IP ban (Autoban) 7

Form submission for autoban_analize_form().

File

./autoban.admin.inc, line 722
Configuration for autoban module.

Code

function autoban_analyze_form_submit($form, &$form_state) {
  $threshold = $form_state['values']['threshold'];
  $_SESSION['autoban']['analyze']['threshold'] = $threshold;
  drupal_set_message(t('The analyze threshold is set to %threshold', array(
    '%threshold' => $threshold,
  )));
}