From 625fad026e1b30a4ebe61ea7ea3f3eef83409b0b Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 29 Mar 2023 17:52:37 +0000 Subject: [PATCH] Bug 31212: (follow-up) Remove unnessesary changes from Items.pm Signed-off-by: Kyle M Hall --- C4/Items.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 4f1f12d1fd..b1ac879876 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -403,7 +403,6 @@ The last optional parameter allows for passing skip_record_index through to the sub ModDateLastSeen { my ( $itemnumber, $leave_item_lost, $params ) = @_; - my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 0 }); my $item = Koha::Items->find($itemnumber); $item->datelastseen(dt_from_string); @@ -588,7 +587,6 @@ sub GetItemsForInventory { } if ($datelastseen) { - $datelastseen = output_pref({ str => $datelastseen, dateformat => 'iso', dateonly => 0 }); push @where_strings, '(datelastseen < ? OR datelastseen IS NULL)'; push @bind_params, $datelastseen; } -- 2.30.2