Commit 098f3222 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'integrations-remove-event-actions' into 'master'

Remove unused methods in integrations

See merge request gitlab-org/gitlab!82432
parents f589b365 381a67bf
......@@ -216,10 +216,6 @@ class Integration < ApplicationRecord
self.supported_events.map { |event| IntegrationsHelper.integration_event_field_name(event) }
end
def self.supported_event_actions
%w[]
end
def self.supported_events
%w[commit push tag_push issue confidential_issue merge_request wiki_page]
end
......@@ -501,10 +497,6 @@ class Integration < ApplicationRecord
end
end
def configurable_event_actions
self.class.supported_event_actions
end
def supported_events
self.class.supported_events
end
......
......@@ -80,10 +80,6 @@ module Integrations
%w(commit merge_request)
end
def self.supported_event_actions
%w(comment)
end
# {PROJECT-KEY}-{NUMBER} Examples: JIRA-1, PROJECT-1
def self.reference_pattern(only_long: true)
@reference_pattern ||= /(?<issue>\b#{Gitlab::Regex.jira_issue_key_regex})/
......
......@@ -48,10 +48,6 @@ module Integrations
%w()
end
def self.supported_event_actions
%w()
end
def fields
[
{
......
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