From 28c9974eae5365da66a5bacbf11755622ea1f477 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 3 May 2024 08:07:24 +0000 Subject: [PATCH] Bug 34972: (QA follow-up) Remove some ModReserveCancelAll imports Content-Type: text/plain; charset=utf-8 Not used? Dont import. Which actually only leaves circ/waitingreserves.pl as the only 'real' caller. Signed-off-by: Marcel de Rooy --- circ/pendingreserves.pl | 1 - reserve/modrequest.pl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index 11182e12b1..366d0009af 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -28,7 +28,6 @@ use C4::Output qw( output_html_with_http_headers ); use CGI qw ( -utf8 ); use C4::Auth qw( get_template_and_user ); use C4::Items; -use C4::Reserves qw( ModReserveCancelAll ); use Koha::Biblios; use Koha::DateUtils qw( dt_from_string ); use Koha::Holds; diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index e175fe1595..fbf960a554 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -29,7 +29,7 @@ use List::MoreUtils qw( uniq ); use Try::Tiny; use C4::Output; -use C4::Reserves qw( ModReserve ModReserveCancelAll ); +use C4::Reserves qw( ModReserve ); use C4::Auth qw( checkauth ); use Koha::BackgroundJob::BatchUpdateBiblioHoldsQueue; -- 2.30.2