diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-01-12 17:33:04 -0500 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-01-22 00:02:29 +0000 |
commit | 4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700 (patch) | |
tree | 909c9d8ed1351724eab3448d15cac74d84621d08 /app/models/project_services/builds_email_service.rb | |
parent | cd51af1a991eaa5e16e3c6b94c89d90e20a5641f (diff) | |
download | gitlab-ce-4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700.tar.gz |
adds test suite22974-trigger-service-events-through-api
Diffstat (limited to 'app/models/project_services/builds_email_service.rb')
-rw-r--r-- | app/models/project_services/builds_email_service.rb | 4 |
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) |