function spambot_user_spam_admin_form_submit in Spambot 7
Same name and namespace in other branches
- 6.3 spambot.pages.inc \spambot_user_spam_admin_form_submit()
Submit handler for spambot_user_spam_admin_form() form.
1 string reference to 'spambot_user_spam_admin_form_submit'
- spambot_user_spam_admin_form in ./
spambot.pages.inc - Form builder for spambot_user_spam_admin_form form.
File
- ./
spambot.pages.inc, line 201 - User available pages from Spambot module.
Code
function spambot_user_spam_admin_form_submit(&$form, &$form_state) {
$account = user_load($form_state['values']['uid']);
if ($form_state['values']['op'] == $form_state['values']['check']) {
_spambot_user_spam_admin_form_submit_check($form, $form_state, $account);
}
elseif ($form_state['values']['op'] == $form_state['values']['action']) {
_spambot_user_spam_admin_form_submit_action($form, $form_state, $account);
}
}