function captcha_after_settings_form_submit in CAPTCHA After 7
Same name and namespace in other branches
- 6 captcha_after.admin.inc \captcha_after_settings_form_submit()
CAPTCHA after settings form submit.
1 string reference to 'captcha_after_settings_form_submit'
- captcha_after_settings in ./
captcha_after.admin.inc - CAPTCHA after settings form.
File
- ./
captcha_after.admin.inc, line 94 - Admin part of CAPTCHA After module.
Code
function captcha_after_settings_form_submit($form, &$form_values) {
if (!empty($form_values['values']['captcha_after_forms'])) {
foreach ($form_values['values']['captcha_after_forms'] as $form_id => $options) {
captcha_after_db_set_form($form_id, $options);
}
// Delete captcha_after values so they are not saved in system_settings_form_submit.
unset($form_values['values']['captcha_after_forms']);
}
}