Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-14 09:09:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-14 09:09:03 +0300
commit10213bf3b26c3c21f7683471d35d1cd052c41e9c (patch)
tree32d1c776e16f56e1fc7a2ad0d5550029c24a3473 /app/models/milestone.rb
parentc60a1173018e93e6bf433f87cb726adc979d1c8a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/milestone.rb')
-rw-r--r--app/models/milestone.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index b3278f48aa9..29c621c54d0 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -39,9 +39,6 @@ class Milestone < ApplicationRecord
has_many :merge_requests
has_many :events, as: :target, dependent: :delete_all # rubocop:disable Cop/ActiveRecordDependent
- has_many :issue_milestones
- has_many :merge_request_milestones
-
scope :of_projects, ->(ids) { where(project_id: ids) }
scope :of_groups, ->(ids) { where(group_id: ids) }
scope :active, -> { with_state(:active) }