function crm_core_user_sync_user_insert in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_user_sync/crm_core_user_sync.module \crm_core_user_sync_user_insert()
- 8 modules/crm_core_user_sync/crm_core_user_sync.module \crm_core_user_sync_user_insert()
- 7 modules/crm_core_user_sync/crm_core_user_sync.module \crm_core_user_sync_user_insert()
Implements hook_user_insert()
File
- modules/
crm_core_user_sync/ crm_core_user_sync.module, line 144
Code
function crm_core_user_sync_user_insert(&$edit, $account, $category) {
if (variable_get('crm_core_user_sync_auto_sync_user_create', 1)) {
crm_core_user_sync_sync($account);
}
}