Skip to content

Commit

Permalink
Remove additional alma_user_user_authenticate_finalize added during m…
Browse files Browse the repository at this point in the history
…erge
  • Loading branch information
kasperg authored and xendk committed Feb 29, 2012
1 parent 58e2e90 commit a3ac060
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions alma_user/plugins/user/alma.inc
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,7 @@ function alma_user_user_logged_in($account) {
$creds = ding_library_user_get_credentials($account);
return $creds != DING_PROVIDER_AUTH_REQUIRED;
}
/**
* writes preferred branch to user
*
* @param Std Object $account
*/
function alma_user_user_authenticate_finalize($account){
if($account->alma_preferred_branch != '' && $account->alma_preferred_branch <> $account->preferred_branch){
$fields['preferred_branch'] = $account->alma_preferred_branch;
user_save($account,$fields);
}
}

/**
*
*/
Expand Down

0 comments on commit a3ac060

Please sign in to comment.