excised hard-coded reference to HLT
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 11 May 2009 21:22:04 +0000 (16:22 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 11 May 2009 21:23:42 +0000 (16:23 -0500)
Note to Chris Cormack: I suspect the current ability
to override most circulation conditions is sufficient,
but if HLT still needs to establish a patron category
that can ignore issuingimpossible limitations, needs
to be done in a more flexible way.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Circulation.pm

index e6389ee..fe28409 100644 (file)
@@ -845,12 +845,6 @@ sub CanBookBeIssued {
 "$res->{'reservedate'} : $resborrower->{'firstname'} $resborrower->{'surname'} ($resborrower->{'cardnumber'})";
         }
     }
-    if ( C4::Context->preference("LibraryName") eq "Horowhenua Library Trust" ) {
-        if ( $borrower->{'categorycode'} eq 'W' ) {
-            my %emptyhash;
-            return ( \%emptyhash, \%needsconfirmation );
-        }
-       }
        return ( \%issuingimpossible, \%needsconfirmation );
 }