Bug 18072: (QA follow-up) Remove warning from tests
[koha.git] / about.pl
index 70900dd..a79fc2c 100755 (executable)
--- 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;
 
@@ -263,7 +262,7 @@ if ( ! defined C4::Context->config('upload_path') ) {
 }
 
 if ( ! C4::Context->config('tmp_path') ) {
-    my $temporary_directory = Koha::UploadedFile->temporary_directory;
+    my $temporary_directory = C4::Context::temporary_directory;
     push @xml_config_warnings, {
         error             => 'tmp_path_missing',
         effective_tmp_dir => $temporary_directory,