[Koha-devel] Due Date check in C4::Circulation::CanBookBeIssued?

Galen Charlton galen.charlton at liblime.com
Tue Apr 28 01:00:01 CEST 2009


Hi,

On Mon, Apr 27, 2009 at 6:26 PM, Michael Hafen <mdhafen at tech.washk12.org> wrote:
> Well, talked myself into it.  I'll work on having CanBookBeIssued return
> the due date then.  How's that sound?

CanBookBeIssued() can return an erroneous due date as part of an error
response, but it it shouldn't be used in other code as the source of
the final due date - if it did that, it should be renamed
CanBookBeIssuedAndReturnTheDueDate(), which doesn't strike me as an
example of good cohesion.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-devel mailing list