Bugzilla – Attachment 140741 Details for
Bug 31519
Unused template parameters in request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31519: Remove unused SuspendHoldsIntranet and AutoResumeSuspendedHolds variables
Bug-31519-Remove-unused-SuspendHoldsIntranet-and-A.patch (text/plain), 1.15 KB, created by
David Nind
on 2022-09-18 21:27:48 UTC
(
hide
)
Description:
Bug 31519: Remove unused SuspendHoldsIntranet and AutoResumeSuspendedHolds variables
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-09-18 21:27:48 UTC
Size:
1.15 KB
patch
obsolete
>From f8aa25ead7dbaae817962ac608270bca30f3f677 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@iki.fi> >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 <david@davidnind.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31519
:
140199
|
140200
|
140741
|
140742
|
141534
|
141535