]> git.koha-community.org Git - koha.git/commit
Bug 20443: Revert some stuffs from 12159
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Jul 2018 13:41:15 +0000 (10:41 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 13:38:54 +0000 (13:38 +0000)
commit956c1a2a26f6663e1620492e67c6a9b20ef3fe94
treef0edf3c4f45323f958bcaa0312d533b5b6c9d55c
parent757ca57bfdbd4346b90293429e658d239b8d0102
Bug 20443: Revert some stuffs from 12159

These methods have been added to Koha::Patron::Attribute but are wrong, see bug 18339

We should use ->type->$method instead

Moreover the tests exist in another subtest, we do not need them.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron/Attribute.pm
Koha/Schema/Result/BorrowerAttribute.pm
t/db_dependent/Koha/Patron/Attributes.t
t/db_dependent/Koha/Patrons.t