summaryrefslogtreecommitdiff
path: root/app/models/project_services/builds_email_service.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-01-12 17:33:04 -0500
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-01-22 00:02:29 +0000
commit4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700 (patch)
tree909c9d8ed1351724eab3448d15cac74d84621d08 /app/models/project_services/builds_email_service.rb
parentcd51af1a991eaa5e16e3c6b94c89d90e20a5641f (diff)
downloadgitlab-ce-4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700.tar.gz
Diffstat (limited to 'app/models/project_services/builds_email_service.rb')
-rw-r--r--app/models/project_services/builds_email_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project_services/builds_email_service.rb b/app/models/project_services/builds_email_service.rb
index 51c07f731ff..ebd21e37189 100644
--- a/app/models/project_services/builds_email_service.rb
+++ b/app/models/project_services/builds_email_service.rb
@@ -27,10 +27,6 @@ class BuildsEmailService < Service
%w(build)
end
- def self.event_names
- self.supported_events.map { |event| "#{event}_events" }
- end
-
def execute(push_data)
return unless supported_events.include?(push_data[:object_kind])
return unless should_build_be_notified?(push_data)