]> 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 Cormack <chrisc@catalyst.net.nz>
Thu, 11 Nov 2010 21:26:56 +0000 (10:26 +1300)
commitc95b5153e0ed5585c8331273a42fc29d75f9f10f
treee47c8a0e6a2de42dcda07e7f7a3f2d4eee7fdab4
parentefa66f1f556dcff71779c9b89148f2bb99149e51
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>
C4/Koha.pm