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.
  • Loading branch information
garethrees committed Nov 15, 2023
1 parent ba0de91 commit 6da20d5
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 6da20d5

Please sign in to comment.