Skip to content

Commit

Permalink
remove file delete in process publication
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Aug 13, 2024
1 parent 90f53c2 commit e64f112
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/services/tasks/dimensions_ingest_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def process_publication(publication)
if pdf_path
pdf_file = attach_pdf_to_work(article, pdf_path, @depositor)
pdf_file.update(permissions_attributes: group_permissions(@admin_set))
File.delete(pdf_path) if File.exist?(pdf_path)
end
article
end
Expand Down

0 comments on commit e64f112

Please sign in to comment.