Skip to content

Commit

Permalink
Remove IncomingMessage#destroy_raw_email
Browse files Browse the repository at this point in the history
Not called anywhere now. Was used as a workaround for a bug in earlier
versions of Rails. The workaround was removed in 941349d but cleaning
up this method was missed.
  • Loading branch information
garethrees committed Nov 28, 2023
1 parent ba0de91 commit 9987615
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/incoming_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ def update_request
info_request.update_last_public_response_at
end

def destroy_raw_email
raw_email.destroy
end

# And look up by URL part number and display filename to get an attachment
# TODO: relies on extract_attachments calling MailHandler.ensure_parts_counted
# The filename here is passed from the URL parameter, so it's the
Expand Down

0 comments on commit 9987615

Please sign in to comment.