From 4ed582626a1b567175188a27587874a64805b78a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 2 Jun 2022 11:34:46 +0200 Subject: [PATCH] Bug 27272: Remove GetItemsInfo from catalogue/imageviewer --- catalogue/imageviewer.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl index 1fc1f423048..fc65a1ac078 100755 --- a/catalogue/imageviewer.pl +++ b/catalogue/imageviewer.pl @@ -21,7 +21,6 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth qw( get_template_and_user ); -use C4::Items qw( GetItemsInfo ); use C4::Output qw( output_html_with_http_headers ); use C4::Search qw( enabled_staff_search_views ); @@ -44,7 +43,6 @@ my $biblionumber = $query->param('biblionumber') || $query->param('bib') || Koha my $imagenumber = $query->param('imagenumber'); my $biblio = Koha::Biblios->find( $biblionumber ); my $itemcount = $biblio ? $biblio->items->count : 0; -my @items = GetItemsInfo($biblionumber); if ( $query->cookie("holdfor") ) { my $holdfor_patron = Koha::Patrons->find( $query->cookie("holdfor") ); -- 2.25.1