diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /app/models/group_milestone.rb | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'app/models/group_milestone.rb')
-rw-r--r-- | app/models/group_milestone.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/group_milestone.rb b/app/models/group_milestone.rb index 87338512d99..60e97174e50 100644 --- a/app/models/group_milestone.rb +++ b/app/models/group_milestone.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true # Group Milestones are milestones that can be shared among many projects within the same group class GroupMilestone < GlobalMilestone - include_if_ee('::EE::GroupMilestone') # rubocop: disable Cop/InjectEnterpriseEditionModule attr_reader :group, :milestones def self.build_collection(group, projects, params) @@ -46,3 +45,5 @@ class GroupMilestone < GlobalMilestone true end end + +GroupMilestone.include_if_ee('::EE::GroupMilestone') |