X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=tools%2Fupload-file.pl;h=7ec0fc7045b4d8f0f8c995b9ea1c13ea19dfa4e5;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=86ef2c5dc2dd8558aee348fdd4ad9894ab9585e7;hpb=3acee793105f66ff0acc5b8879e3cbceb0fb2b54;p=srvgit diff --git a/tools/upload-file.pl b/tools/upload-file.pl index 86ef2c5dc2..7ec0fc7045 100755 --- a/tools/upload-file.pl +++ b/tools/upload-file.pl @@ -23,10 +23,10 @@ use CGI qw ( -utf8 ); use CGI::Cookie; use Encode; use JSON; -use URI::Escape; +use URI::Escape qw( uri_unescape ); use C4::Context; -use C4::Auth qw/check_cookie_auth haspermission/; +use C4::Auth qw( check_cookie_auth get_session ); use Koha::Uploader; # upload-file.pl must authenticate the user