Commit be79108f authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '209938-remove-unused-jira-tracker-code' into 'master'

Remove Jira tracker unused code

Closes #209938

See merge request gitlab-org/gitlab!27669
parents ac0e46d0 3067b5ea
......@@ -1294,10 +1294,6 @@ class Project < ApplicationRecord
@monitoring_service ||= monitoring_services.reorder(nil).find_by(active: true)
end
def jira_tracker?
issues_tracker.to_param == 'jira'
end
def avatar_in_git
repository.avatar
end
......@@ -1606,10 +1602,6 @@ class Project < ApplicationRecord
end
end
def jira_tracker_active?
jira_tracker? && jira_service.active
end
def allowed_to_share_with_group?
!namespace.share_with_group_lock
end
......
......@@ -405,10 +405,6 @@ module EE
super && !(group && ::Gitlab::CurrentSettings.lock_memberships_to_ldap?)
end
def reference_issue_tracker?
default_issues_tracker? || jira_tracker_active?
end
# TODO: Clean up this method in the https://gitlab.com/gitlab-org/gitlab/issues/33329
def approvals_before_merge
return 0 unless feature_available?(:merge_request_approvers)
......
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