From: erickson Date: Thu, 27 Jul 2006 17:21:06 +0000 (+0000) Subject: removed dup ident check in updates since legacy data may have dup idents X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=439ee92b788652bad43af653b53156f46c0f0a1f;p=evergreen%2Fpines.git removed dup ident check in updates since legacy data may have dup idents git-svn-id: svn://svn.open-ils.org/ILS/trunk@5126 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index 69eb0e9fa5..b3394c0550 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -447,8 +447,10 @@ sub _update_patron { return (undef, $evt) if $evt; } - $evt = _check_dup_ident($session, $patron); - return (undef, $evt) if $evt; + # We can' check for dup idents on update because some existing + # users may already have dup idents + #$evt = _check_dup_ident($session, $patron); + #return (undef, $evt) if $evt; # update the password by itself to avoid the password protection magic @@ -2155,7 +2157,6 @@ sub create_user_note { return $evt if $evt; $logger->activity("user ".$reqr->id." creating note for user ".$note->usr); - $note->pub('f') unless $note->pub; $note->creator($reqr->id); my $id = $U->storagereq( 'open-ils.storage.direct.actor.usr_note.create', $note );