From: Jason Stephenson Date: Wed, 13 Mar 2019 16:45:13 +0000 (-0400) Subject: Lp 1819796: Delete Code That Was Commented Out X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdyrcona%2Flp1819796-search_where;p=working%2FEvergreen.git Lp 1819796: Delete Code That Was Commented Out As a followup to the previous commit, delete some lines of code that were commented out at the time the code was converted to use CStoreEditor. Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm index 9576b16f70..4a49804acc 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm @@ -1002,13 +1002,6 @@ sub generate_fines { my $circs; my $editor = new_editor; if ($circ_id) { -# my $circ; -# if ($circ = action::circulation->search_where( { id => $circ_id, stop_fines => undef } )) { -# $circ = action::circulation->retrieve($circ_id)->to_fieldmapper; -# } elsif ($circ = booking::reservation->search_where( { id => $circ_id, return_time => undef, cancel_time => undef } )) { -# $circ = booking::reservation->retrieve($circ_id)->to_fieldmapper; -# } -# $circs = [$circ] if ($circ); $circs = $editor->search_action_circulation( { id => $circ_id, stop_fines => undef } ); unless (@$circs) { $circs = $editor->search_booking_reservation( { id => $circ_id, return_time => undef, cancel_time => undef } );