diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-26 00:15:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-26 00:15:18 +0300 |
commit | 616a16ea4d50ad4858f2089f8bfc56c105516599 (patch) | |
tree | 53d2e4986ec9f9c23fdad68febc0d811536da602 /app/models/preloaders | |
parent | 2b2d833ab3e78f8c9f626af950a16d43fc38c9f8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/preloaders')
-rw-r--r-- | app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb b/app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb new file mode 100644 index 00000000000..179214666ed --- /dev/null +++ b/app/models/preloaders/single_hierarchy_project_group_plans_preloader.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Preloaders + class SingleHierarchyProjectGroupPlansPreloader + attr_reader :projects + + def initialize(projects_relation) + @projects = projects_relation + end + + def execute + # no-op in FOSS + end + end +end + +Preloaders::SingleHierarchyProjectGroupPlansPreloader.prepend_mod_with('Preloaders::SingleHierarchyProjectGroupPlansPreloader') |