X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=plugins%2Fplugins-upload.pl;h=3e44f00b7e137b23d400e5895b209210eb24d130;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=a681aabfd18d50387827cd2e4fb19f8f1a97547c;hpb=3fe837bc74d110b9b3f378ee0565464d8529e827;p=srvgit diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl index a681aabfd1..3e44f00b7e 100755 --- a/plugins/plugins-upload.pl +++ b/plugins/plugins-upload.pl @@ -21,12 +21,11 @@ use Modern::Perl; use Archive::Extract; use CGI qw ( -utf8 ); use Mojo::UserAgent; -use File::Copy; use File::Temp; use C4::Context; -use C4::Auth; -use C4::Output; +use C4::Auth qw( get_template_and_user ); +use C4::Output qw( output_html_with_http_headers ); use C4::Members; use Koha::Logger; use Koha::Plugins;