diff --git a/app/models/product_import/product_importer.rb b/app/models/product_import/product_importer.rb index 1967245fb8..2cdfba52bd 100644 --- a/app/models/product_import/product_importer.rb +++ b/app/models/product_import/product_importer.rb @@ -287,8 +287,6 @@ module ProductImport end def delete_uploaded_file - return unless @file.path == Rails.root.join("tmp/product_import").to_s - File.delete(@file) end