diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-21 15:07:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-21 15:07:45 +0300 |
commit | d4c968c95c4b966a58d3fe76c25aeb6e97d84925 (patch) | |
tree | b3d9237b97a50d813437d53eb9fbfd406417031f /app/mailers | |
parent | 3ab7e70965fd198aafefc5c1a0eaf7b695f6cabc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/emails/service_desk.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/mailers/emails/service_desk.rb b/app/mailers/emails/service_desk.rb index e8034ef9b57..66eb2c646a9 100644 --- a/app/mailers/emails/service_desk.rb +++ b/app/mailers/emails/service_desk.rb @@ -20,9 +20,7 @@ module Emails options = service_desk_options(email_sender, 'thank_you', @issue.external_author) .merge(subject: "Re: #{subject_base}") - mail_new_thread(@issue, options).tap do - Gitlab::Metrics::BackgroundTransaction.current&.add_event(:service_desk_thank_you_email) - end + mail_new_thread(@issue, options) end def service_desk_new_note_email(issue_id, note_id, recipient) @@ -33,9 +31,7 @@ module Emails options = service_desk_options(email_sender, 'new_note', recipient) .merge(subject: subject_base) - mail_answer_thread(@issue, options).tap do - Gitlab::Metrics::BackgroundTransaction.current&.add_event(:service_desk_new_note_email) - end + mail_answer_thread(@issue, options) end private |