function profile_user_presave

Implements hook_user_presave().

File

modules/profile/profile.module, line 216

Code

function profile_user_presave(&$edit, $account, $category) {
    if (!empty($account->uid)) {
        profile_save_profile($edit, $account, $category);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.