Bug 24368: Remove Koha::Libraries->pickup_locations
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 May 2020 19:01:58 +0000 (16:01 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 13 May 2020 09:30:41 +0000 (10:30 +0100)
commit0b42afc9a377cf13109a24b57eb777f3d3d08cdf
treeeb176654a48e85635b739ccaf2c1e79fa2f2c87b
parent33a44e438376a567966e80100c1ef4a3c06b215d
Bug 24368: Remove Koha::Libraries->pickup_locations

This patch removes the unused method, and cleans the tests.
To test:
1. Verify Koha::Libraries->pickup_locations is not used in the code:
   $ git grep 'Koha::Libraries\->pickup_locations'
=> SUCCESS: no uses
2. Apply this patch
3. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Libraries.t
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Libraries.pm
t/db_dependent/Koha/Libraries.t