Stop re-declaring $userpriv, remove unused $userou
authorJeff Godin <jgodin@tadl.org>
Wed, 21 Aug 2013 21:33:35 +0000 (17:33 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 21 Aug 2013 21:33:35 +0000 (17:33 -0400)
Avoid a warning by not declaring $userpriv twice.

Remove $userou as we are not currently using it.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
iNCIPit.cgi

index 9238093..3610fd1 100644 (file)
@@ -854,8 +854,7 @@ sub lookupUser {
 
     $propername = $patron->first_given_name . " " . $patron->family_name;
     $good_until = $patron->expire_date || "unknown";
-    my $userou   = $patron->home_ou->name;
-    my $userpriv = $patron->profile->name;
+    $userpriv = $patron->profile->name;
 
     #} else {
     #    do_lookup_user_error_stanza("PATRON_NOT_FOUND : $id");