]> git.koha-community.org Git - koha.git/commit
Bug 30057: Move virtualshelf-related exceptions to a separate library
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Feb 2022 13:05:12 +0000 (10:05 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 17:30:37 +0000 (14:30 -0300)
commit7704f51d5131d3f1104244a705294db614eae76e
treee4f441ab63d14aa1d34516a4e1ad5dea10e7aa6c
parent3f784ea61318818188a102a4d81e2aece1899e74
Bug 30057: Move virtualshelf-related exceptions to a separate library

This patch moves the not-generic virtualshelf-related exceptions to
their own file. Callers are adjusted as required.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Virtualshelves.t
=> SUCCESS: Tests pass
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass
4. Check virtualshelves work as expected
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Exceptions.pm
Koha/Exceptions/Virtualshelf.pm [new file with mode: 0644]
Koha/Virtualshelf.pm
Koha/Virtualshelfshare.pm
koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
t/db_dependent/Virtualshelves.t