removed dup ident check in updates since legacy data may have dup idents
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Jul 2006 17:21:06 +0000 (17:21 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 27 Jul 2006 17:21:06 +0000 (17:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5126 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Actor.pm

index 69eb0e9..b3394c0 100644 (file)
@@ -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 );