Bug 11319: Koha::SimpleMARC should take a hashref for parameters
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 11 Dec 2013 13:22:03 +0000 (14:22 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 12 Nov 2014 15:04:12 +0000 (12:04 -0300)
commitc48639ee271a7abc9670b41d4e16f39adc56842b
tree51796aa964852fdfa1640e4f4d718547e827b2b8
parent958dff03d2b2ec18c380474b1c959df421bb68e9
Bug 11319: Koha::SimpleMARC should take a hashref for parameters

In order to avoid a long list of parameters, it should be better to
pass all of them into a hashref.

This patch does not add or modify a behavior.

Test plan:
Verify the unit tests still pass
- prove t/SimpleMARC.t
- prove t/db_dependent/MarcModificationTemplates.t

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/MarcModificationTemplates.pm
Koha/SimpleMARC.pm
t/SimpleMARC.t