function realname_user_update in Real Name 7
Same name and namespace in other branches
- 8 realname.module \realname_user_update()
- 2.x realname.module \realname_user_update()
Implements hook_user_update().
File
- ./
realname.module, line 142 - Provides token-based name displays for users.
Code
function realname_user_update(&$edit, $account, $category) {
// Since user data may have changed, update the realname and its cache.
$realnames =& drupal_static('realname_load_multiple', array());
$realnames[$account->uid] = realname_update($account);
}