Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3067b5ea
Commit
3067b5ea
authored
Mar 20, 2020
by
Arturo Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Jira tracker unused code
parent
654744b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
app/models/project.rb
app/models/project.rb
+0
-8
ee/app/models/ee/project.rb
ee/app/models/ee/project.rb
+0
-4
No files found.
app/models/project.rb
View file @
3067b5ea
...
...
@@ -1292,10 +1292,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
...
...
@@ -1604,10 +1600,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
...
...
ee/app/models/ee/project.rb
View file @
3067b5ea
...
...
@@ -406,10 +406,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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment