summaryrefslogtreecommitdiff
path: root/lib/extracts_ref.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extracts_ref.rb')
-rw-r--r--lib/extracts_ref.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/extracts_ref.rb b/lib/extracts_ref.rb
index 5ef2d888550..adbe93cfa3a 100644
--- a/lib/extracts_ref.rb
+++ b/lib/extracts_ref.rb
@@ -111,7 +111,6 @@ module ExtractsRef
end
def use_first_path_segment?(ref)
- return false unless ::Feature.enabled?(:extracts_path_optimization)
return false unless repository_container
return false if repository_container.repository.has_ambiguous_refs?