Commit 24ef4be4 authored by Robert Speicher's avatar Robert Speicher

Merge branch '197910-follow-up-remove-feature-flag-cross_project_need_artifacts' into 'master'

Remove feature flag cross_project_need_artifacts

See merge request gitlab-org/gitlab!27404
parents 9e9ae3de 67bdda12
......@@ -122,7 +122,6 @@ module EE
override :cross_dependencies
def cross_dependencies
return [] unless user_id
return [] unless ::Feature.enabled?(:cross_project_need_artifacts, project, default_enabled: true)
return [] unless project.feature_available?(:cross_project_pipelines)
cross_dependencies_relationship
......
......@@ -551,14 +551,6 @@ describe Ci::Build do
it { is_expected.to be_empty }
end
context 'when feature is disabled' do
before do
stub_feature_flags(cross_project_need_artifacts: false)
end
it { is_expected.to be_empty }
end
end
context 'without permissions to other_project' do
......
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