From 6da20d5c25e4c2f40d511aac3a547604b014fb62 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 15 Nov 2023 11:50:34 +0000 Subject: [PATCH] Remove IncomingMessage#destroy_raw_email Not called anywhere now. --- app/models/incoming_message.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index f57bcac08f9..7e86061278c 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -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