Commit 7faf42f8 authored by NancyDru's avatar NancyDru
Browse files

2303599 - Implement hook_profile2_update().

parent 9d65522f
......@@ -117,6 +117,16 @@ function realname_user_update(&$edit, $account, $category) {
realname_update($account);
}
/**
* Implements hook_profile2_update().
*/
function realname_profile2_update($profile) {
$account = user_load($profile->uid);
if (is_object($account)) {
realname_update($account);
}
}
/**
* Implements hook_user_delete().
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment