diff --git a/app/jobs/attach_files_to_work_job.rb b/app/jobs/attach_files_to_work_job.rb index 099cd4e9..cbbfea8d 100644 --- a/app/jobs/attach_files_to_work_job.rb +++ b/app/jobs/attach_files_to_work_job.rb @@ -16,7 +16,7 @@ def perform(work, uploaded_files, **work_attributes) STDERR.puts "######################################################" STDERR.puts " Uploaded_file before virus_check! #{uploaded_file}" STDERR.puts "######################################################" - virus_check!(uploaded_file) + #virus_check!(uploaded_file) next if uploaded_file.file_set_uri.present? STDERR.puts " New file is not infected :) #{uploaded_file}" actor = Hyrax::Actors::FileSetActor.new(FileSet.create, user)