hs18738 checked for expired accounts with SIP
authorJason Etheridge <jason@esilibrary.com>
Fri, 20 Apr 2012 11:29:14 +0000 (07:29 -0400)
committerJason Etheridge <jason@esilibrary.com>
Fri, 20 Apr 2012 11:29:14 +0000 (07:29 -0400)
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 58f72bd..abf100e 100644 (file)
@@ -377,9 +377,8 @@ sub screen_msg {
     return $b if $u->standing_penalties and @{$u->standing_penalties};
 
     # has the patron account expired?
-       # GMC 2012-02-12 - let expired cards work
-       #my $expire = DateTime::Format::ISO8601->new->parse_datetime(cleanse_ISO8601($u->expire_date));
-       #return $b if CORE::time > $expire->epoch;
+       my $expire = DateTime::Format::ISO8601->new->parse_datetime(cleanse_ISO8601($u->expire_date));
+       return $b if CORE::time > $expire->epoch;
 
        return 'OK';
 }