]> git.koha-community.org Git - koha.git/commit
Bug 23681: Move to ::Patron::Restriction::Type(s)
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 Aug 2022 17:09:27 +0000 (18:09 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 25 Aug 2022 11:50:35 +0000 (08:50 -0300)
commit6ce4d25bd34c2432cb76fa997f68f18319321a10
tree3317b267d9661a47b30596f9c4577ddf2eb2362d
parentcdb0a7160f29200e410b7801e475515f064ee203
Bug 23681: Move to ::Patron::Restriction::Type(s)

This patch moves the new classes under ::Patron::Restriction:: and
enhances the Unit tests for those classes.

NOTE: We should drop keyed_on_code as part of bug 31095
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
15 files changed:
Koha/Exceptions.pm
Koha/Patron/Restriction/Type.pm [new file with mode: 0644]
Koha/Patron/Restriction/Types.pm [new file with mode: 0644]
Koha/RestrictionType.pm [deleted file]
Koha/RestrictionTypes.pm [deleted file]
Koha/Schema/Result/RestrictionType.pm
admin/restrictions.pl
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt
members/memberentry.pl
members/moremember.pl
t/db_dependent/Koha/Patron/Restriction/Type.t [new file with mode: 0755]
t/db_dependent/Koha/Patron/Restriction/Types.t [new file with mode: 0755]
t/db_dependent/RestrictionType.t [deleted file]
t/db_dependent/RestrictionTypes.t [deleted file]