| 7 contact.module | contact_user_presave(& |
| 8 contact.module | contact_user_presave($account) |
Implements hook_user_presave().
File
- modules/
contact/ contact.module, line 236 - Enables the use of personal and site-wide contact forms.
Code
function contact_user_presave(&$edit, $account, $category) {
$edit['data']['contact'] = isset($edit['contact']) ? $edit['contact'] : variable_get('contact_default_status', 1);
}
Login or register to post comments