[Koha-patches] [PATCH] excised hard-coded reference to HLT

Galen Charlton galen.charlton at liblime.com
Mon May 11 23:23:32 CEST 2009


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.
---
 C4/Circulation.pm |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index e6389ee..fe28409 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -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 );
 }
 
-- 
1.5.6.5




More information about the Koha-patches mailing list