Bug 24468: Remove unused C4::Reserves::_get_itype subroutine
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Jan 2020 14:51:22 +0000 (15:51 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 10:57:13 +0000 (10:57 +0000)
commit8986310a60e9174558c24ef6c346bb5fb239332a
treee9ed601f3b6b872c6678a0aa251d76919d1492e2
parent817e795df793e85f7238f280ae573db2014c9583
Bug 24468: Remove unused C4::Reserves::_get_itype subroutine

Since bug 21206, C4::Reserves::_get_itype is not longer used and should
be removed.

  commit 31c29fd31f557306233e6a2936148a5bb10b89a1
  Bug 21206: Replace C4::Items::GetItem

UPDATE: In the meanwhile another occurrence was added to Reserves.t, but
easy to replace

Test plan:
  % git grep _get_itype
must not return any occurrences.

If one needs it, Koha::Item->effective_itemtype must be used instead.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Reserves.pm
t/db_dependent/Reserves.t