function zoomapi_user_insert in Zoom API 7.2
Implements hook_user_insert().
File
- ./
zoomapi.module, line 170 - Main file for the Zoom API module.
Code
function zoomapi_user_insert(&$edit, $account, $category) {
if (!variable_get('zoomapi_create_on_new_user', FALSE)) {
return;
}
if (variable_get('zoomapi_create_on_new_user', FALSE) && !zoomapi_user_email_exists($account->mail)) {
zoomapi_create_user($account);
}
}