[Koha-patches] [PATCH] Bug 5408 - Refactor GetIssuingRule and GetLoanLength

Chris Cormack chrisc at catalyst.net.nz
Mon Nov 15 10:23:55 CET 2010


* Clay Fouts (cfouts at liblime.com) wrote:
> This collapses the series of queries within GetIssuingRule into a single query,
> the result of which is cached for future uses. Also refactors GetLoanLength to
> call GetIssuingRule instead of submitting its own queries. The purpose of this
> is to simplify and optimize the code. The API and behavior remain unchanged.
Hi Clay

I like the idea, is the plan to send a follow up patch so that when an
issuing rule is changed, we clear the cached data?


Chris

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: </pipermail/koha-patches/attachments/20101115/16838262/attachment.pgp>


More information about the Koha-patches mailing list