Bug 28186: Use Koha::Authority in C4::AuthoritiesMarc::AddAuthority
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 21 Apr 2021 05:56:50 +0000 (07:56 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Oct 2022 18:13:35 +0000 (15:13 -0300)
commit3b4c6db0d8ee0559b1fbf4b79d5705185b8ca2dd
tree1037e6d7d3c0506165c0b9239095e0616c3fba30
parent6123c2767d4ad2f1e56e667551a8fbcdcd494249
Bug 28186: Use Koha::Authority in C4::AuthoritiesMarc::AddAuthority

This patch replaces the use of $dbh->do by corresponding use of
Koha::Authority object

Test plan:
1. Verify that creating/modifying authority still work
2. prove t/db_dependent/AuthoritiesMarc.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/AuthoritiesMarc.pm