Commit 540db66b authored by Douwe Maan's avatar Douwe Maan

Disable diff comments in EmailsOnPush email

parent 55f91c6a
......@@ -65,7 +65,9 @@ module Emails
# used in notify layout
@target_url = @message.target_url
@project = Project.find project_id
@project = Project.find(project_id)
@diff_notes_disabled = true
add_project_headers
headers['X-GitLab-Author'] = @message.author_username
......
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