https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29474

--- Comment #17 from Joonas Kylmälä <[email protected]> ---
Created attachment 127617
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127617&action=edit
Bug 29474: Remove one layer of indendation by adding if check in the begginning

If we simply return "no" immediately from the function when the
checkout is not an autorenewed checkout we can drop one layer of
indendation and the code becomes much easier to read.

To test:
 1) prove t/db_dependent/Circulation.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to