Bug 30847: Remove unused noreserve parameter
This is defined but never used To test: 1 - git grep noreserve 2 - only one ocurrence 3 - Apply patch 4 - repeat, no ocurrence 5 - Note the plural has a few uses Signed-off-by: Owen Leonard <oleonard@myacpl.org> Rebased-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
1ff61868b6
commit
d54a7bcad5
1 changed files with 0 additions and 1 deletions
|
@ -329,7 +329,6 @@ if ( $query->param('place_reserve') ) {
|
|||
#
|
||||
my $noreserves = 0;
|
||||
my $maxoutstanding = C4::Context->preference("maxoutstanding");
|
||||
$template->param( noreserve => 1 ) unless $maxoutstanding;
|
||||
my $amountoutstanding = $patron->account->balance;
|
||||
if ( $amountoutstanding && ($amountoutstanding > $maxoutstanding) ) {
|
||||
my $amount = sprintf "%.02f", $amountoutstanding;
|
||||
|
|
Loading…
Reference in a new issue