function profile_user_import_after_save in User Import 5.2
Same name and namespace in other branches
- 8 supported/profile.inc \profile_user_import_after_save()
- 5 supported/profile.inc \profile_user_import_after_save()
- 6.4 supported/profile.inc \profile_user_import_after_save()
- 6.2 supported/profile.inc \profile_user_import_after_save()
- 7 supported/profile.inc \profile_user_import_after_save()
- 7.2 supported/profile.inc \profile_user_import_after_save()
Implementation of hook_user_import_after_save().
File
- supported/
profile.inc, line 26
Code
function profile_user_import_after_save($settings, $account, $password, $fields) {
// import info to profile
if (is_array($fields['profile'])) {
while (list($fid, $data) = each($fields['profile'])) {
profile_user_import_save_profile($fid, $account->uid, trim($data[0]));
}
}
return;
}