Commit 67bdda12 authored by Marius Bobin's avatar Marius Bobin

Remove cross_project_need_artifacts feature flag

parent 5c32fdaf
...@@ -122,7 +122,6 @@ module EE ...@@ -122,7 +122,6 @@ module EE
override :cross_dependencies override :cross_dependencies
def cross_dependencies def cross_dependencies
return [] unless user_id return [] unless user_id
return [] unless ::Feature.enabled?(:cross_project_need_artifacts, project, default_enabled: true)
return [] unless project.feature_available?(:cross_project_pipelines) return [] unless project.feature_available?(:cross_project_pipelines)
cross_dependencies_relationship cross_dependencies_relationship
......
...@@ -551,14 +551,6 @@ describe Ci::Build do ...@@ -551,14 +551,6 @@ describe Ci::Build do
it { is_expected.to be_empty } it { is_expected.to be_empty }
end 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 end
context 'without permissions to other_project' do 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