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