]> git.koha-community.org Git - koha.git/commit
Bug 30719: Remove unused Koha::Illbatch->requests_count method
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Oct 2023 14:51:24 +0000 (11:51 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Oct 2023 17:45:24 +0000 (14:45 -0300)
commite6de47e9ecdf01190c7a244e30cb760281554f38
treede37966e8180c7ef1f26ac083c9622db109f549d
parentf51f1265a1d3a12cffb5142e652bf4203db28bb0
Bug 30719: Remove unused Koha::Illbatch->requests_count method

This patch removes this stray method from the original implementation.

To test:
1. Apply this patch
2. Run:
   $ git grep requests_count
=> SUCCESS: Notice the only ILL-related mantions are API related, which
is returned by using the 'requests+count' embed, which is unrelated to
this particular method
3. Run:
   $ prove t/db_dependent/api/v1/ill_batches.t \
     t/db_dependent/Illbatches.t
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illbatch.pm
t/db_dependent/Illbatches.t