Bug 29179: Remove useless includes in moveitem.pl
This patch moves a trivially unneeded set of includes from this file. To test: 1. Apply the patch 2. Try attaching an item to another biblio => SUCCESS: Things work as expected! 3. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3ad35094ad
commit
10d8a3e82f
|
|
@ -24,15 +24,8 @@ use Modern::Perl;
|
|||
use CGI qw ( -utf8 );
|
||||
use C4::Auth qw( get_template_and_user );
|
||||
use C4::Output qw( output_html_with_http_headers );
|
||||
use C4::Context;
|
||||
use C4::ClassSource;
|
||||
use C4::Acquisition qw/GetOrderFromItemnumber ModOrder GetOrder/;
|
||||
|
||||
use Koha::Biblios;
|
||||
|
||||
|
||||
use MARC::File::XML;
|
||||
|
||||
use Koha::Items;
|
||||
|
||||
my $query = CGI->new;
|
||||
|
|
@ -52,8 +45,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
my $biblio = Koha::Biblios->find( $biblionumber );
|
||||
$template->param(biblio => $biblio);
|
||||
$template->param(biblionumber => $biblionumber);
|
||||
|
|
@ -103,5 +94,4 @@ else {
|
|||
if ( !$biblionumber ) { $template->param( missingbiblionumber => 1 ); }
|
||||
}
|
||||
|
||||
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue