From d7531632ed76d20ef894ee31a5a2c3f9dc5faa2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Sun, 4 Sep 2022 10:45:59 +0300 Subject: [PATCH] Bug 31519: Remove unused SuspendHoldsIntranet and AutoResumeSuspendedHolds variables If you grep koha-tmpl/intranet-tmpl/prog/en for those you will see there are no references for those. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- reserve/request.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/reserve/request.pl b/reserve/request.pl index 5fcb7ad0b2..a15bc53bcc 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -717,11 +717,7 @@ if ( C4::Context->preference( 'AllowHoldDateInFuture' ) ) { $template->param( reserve_in_future => 1 ); } -$template->param( - SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), - AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), - borrowernumber => $borrowernumber_hold, -); +$template->param(borrowernumber => $borrowernumber_hold); # printout the page output_html_with_http_headers $input, $cookie, $template->output; -- 2.30.2