rolling back unnecessary card verification change
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Feb 2007 19:40:26 +0000 (19:40 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Feb 2007 19:40:26 +0000 (19:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6936 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 25b610a..5043eb7 100644 (file)
@@ -2698,11 +2698,6 @@ sub new_flesh_user {
                }
        }
 
-       $user->card( (grep { $U->is_true($_->active) } @{$user->cards})[0] )
-               if grep { /card$/ } @$fields and 
-                       grep { /cards/ } @$fields and 
-                       not $U->is_true($user->card->active);
-
        $e->rollback;
        $user->clear_passwd();
        return $user;