Commit 8b4cdc50 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix indentation and BuildsEmailService

parent 71e6a93d
...@@ -79,8 +79,7 @@ class BuildsEmailService < Service ...@@ -79,8 +79,7 @@ class BuildsEmailService < Service
end end
def all_recipients(data) def all_recipients(data)
all_recipients = [] all_recipients = recipients.split(',')
all_recipients <<= recipients.split(',')
if add_pusher? && data[:user][:email] if add_pusher? && data[:user][:email]
all_recipients << "#{data[:user][:email]}" all_recipients << "#{data[:user][:email]}"
......
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