Commit a286a024 authored by Sean McGivern's avatar Sean McGivern

Remove EE-specific code from rejection mailer

parent d4d86f93
...@@ -2,12 +2,4 @@ ...@@ -2,12 +2,4 @@
Unfortunately, your email message to GitLab could not be processed. Unfortunately, your email message to GitLab could not be processed.
= markdown @reason = markdown @reason
= render_if_exists 'shared/additional_email_text'
-# EE-specific start
- if Gitlab::CurrentSettings.email_additional_text.present?
%p
—
%br
%br
= Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
-# EE-specific end
Unfortunately, your email message to GitLab could not be processed. Unfortunately, your email message to GitLab could not be processed.
\ \
= @reason = @reason
= render_if_exists 'shared/additional_email_text'
-# EE-specific start
- if Gitlab::CurrentSettings.email_additional_text.present?
\
= '---'
= Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
-# EE-specific end
- return unless Gitlab::CurrentSettings.email_additional_text.present?
%p
—
%br
%br
= Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
- return unless Gitlab::CurrentSettings.email_additional_text.present?
\
= '---'
= Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment