summaryrefslogtreecommitdiff
path: root/app/models/project_services/emails_on_push_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_services/emails_on_push_service.rb')
-rw-r--r--app/models/project_services/emails_on_push_service.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project_services/emails_on_push_service.rb b/app/models/project_services/emails_on_push_service.rb
index 23dc0bc3790..f4f913ee0b6 100644
--- a/app/models/project_services/emails_on_push_service.rb
+++ b/app/models/project_services/emails_on_push_service.rb
@@ -20,10 +20,6 @@ class EmailsOnPushService < Service
%w(push tag_push)
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])