function site_disclaimer_confirm_submit in Site Disclaimer 6
Same name and namespace in other branches
- 7 site_disclaimer.pages.inc \site_disclaimer_confirm_submit()
Submit handler for site_disclaimer_confirm()
File
- ./
site_disclaimer.pages.inc, line 58 - Page callbacks for the Site Disclaimer module.
Code
function site_disclaimer_confirm_submit($form, &$form_state) {
global $user;
$edit = array(
'site_disclaimer' => $form_state['values']['I_agree'],
);
user_save($user, $edit);
}