From 1e8306b2ebbb5e8d1827e14b893137e323bcfd5c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 30 May 2018 16:50:27 +0200 Subject: [PATCH] Bug 20727: (QA follow-up) Remove a few use statements again We do no longer need "use Koha::UploadedFile" in a few places. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- C4/Auth.pm | 1 - C4/InstallAuth.pm | 1 - Koha/Edifact/Transport.pm | 1 - about.pl | 1 - misc/cronjobs/fines.pl | 1 - t/db_dependent/Sitemapper.t | 1 - 6 files changed, 6 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 6f00a1b336..5722e4f2bd 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -30,7 +30,6 @@ use C4::Templates; # to get the template use C4::Languages; use C4::Search::History; use Koha; -use Koha::UploadedFile; use Koha::Caches; use Koha::AuthUtils qw(get_script_name hash_password); use Koha::DateUtils qw(dt_from_string); diff --git a/C4/InstallAuth.pm b/C4/InstallAuth.pm index d279ae80bd..5f5f213331 100644 --- a/C4/InstallAuth.pm +++ b/C4/InstallAuth.pm @@ -29,7 +29,6 @@ use C4::Context; use C4::Output; use C4::Templates; use C4::Koha; -use Koha::UploadedFile; use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); diff --git a/Koha/Edifact/Transport.pm b/Koha/Edifact/Transport.pm index c14df3a5be..036dbc2ae9 100644 --- a/Koha/Edifact/Transport.pm +++ b/Koha/Edifact/Transport.pm @@ -28,7 +28,6 @@ use Net::SFTP::Foreign; use File::Slurp; use File::Copy; use File::Basename qw( fileparse ); -use Koha::UploadedFile; use Koha::Database; use Encode qw( from_to ); diff --git a/about.pl b/about.pl index 6151d18e62..a79fc2ca35 100755 --- a/about.pl +++ b/about.pl @@ -47,7 +47,6 @@ use Koha::Caches; use Koha::Config::SysPrefs; use Koha::Illrequest::Config; use Koha::SearchEngine::Elasticsearch; -use Koha::UploadedFiles; use C4::Members::Statistics; diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl index 9fa7b94f98..15689085de 100755 --- a/misc/cronjobs/fines.pl +++ b/misc/cronjobs/fines.pl @@ -38,7 +38,6 @@ use File::Spec; use Koha::Calendar; use Koha::DateUtils; -use Koha::UploadedFile; use C4::Log; my $help; diff --git a/t/db_dependent/Sitemapper.t b/t/db_dependent/Sitemapper.t index 91a4933d38..bf2576b43c 100755 --- a/t/db_dependent/Sitemapper.t +++ b/t/db_dependent/Sitemapper.t @@ -26,7 +26,6 @@ use Test::More tests => 16; use Koha::Schema; use Carp qw/croak carp/; -use Koha::UploadedFile; BEGIN { use_ok('Koha::Sitemapper'); -- 2.11.0