]> git.koha-community.org Git - koha.git/commit
Bug 4305 Improve code flow
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 11 Nov 2010 14:02:13 +0000 (09:02 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Fri, 12 Nov 2010 00:48:15 +0000 (19:48 -0500)
commitc82169bc32a583e69b7ba2e1bc36f5ce9c52a806
tree8d58fa645a786a8f30c845689cb6e71db87b7d87
parent7b7ee3303d8ee20be001b38f74bd41b1495d19a4
Bug 4305 Improve code flow

Use the ISBN Object's method to format the string
rather than add extra code to do it
Clean up the code flow for clarity
Benchmarking shows its a bit faster too
Don't add to the number of Test::Perl::Critic warnings
 for no benefit

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c95b5153e0ed5585c8331273a42fc29d75f9f10f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Koha.pm