Bug 31095: Remove keyed_on_code
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Aug 2022 15:20:05 +0000 (16:20 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:37 +0000 (10:19 -0300)
commit700bff51e97619ce3b6266b5b590736006814437
tree3fe8f6fae8d0b792d60444e1acba280cb87f344e
parent6388fbbd7f60dd65cbcf71a16e9cafe88a3c8a87
Bug 31095: Remove keyed_on_code

We no longer require keyed_on_code from Koha::Patron::Restrictoin::Types
as we have relation accessors for the relevent use cases and no longer
reference the method anywhere in the codebase!

Test plan
1. Confirm 'keyed_on_code' is no longer referenced anywhere in the
   codebase.
   `git grep keyed_on_code`

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron/Restriction/Types.pm
t/db_dependent/Koha/Patron/Restriction/Types.t [deleted file]