summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2019-08-26 12:31:25 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-08-26 12:35:52 +0200
commita844a958ea875b548b572faaca8e2fd523464735 (patch)
tree0ee61edfb15171b0fe07e4cffbdde5634e30e5d6 /app/models/project.rb
parentf5fa604c3e6ae3fd6915480b96a3c956cdcfcb8f (diff)
downloadgitlab-ce-a844a958ea875b548b572faaca8e2fd523464735.tar.gz
Remove the object pools feature flag
The flag defaulted to true, so there's no change unless users turned it off. Given there's a lack of issues regarding object pools, this should be OK.
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 10679fb1f85..66d5286196e 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -2175,8 +2175,7 @@ class Project < ApplicationRecord
hashed_storage?(:repository) &&
public? &&
repository_exists? &&
- Gitlab::CurrentSettings.hashed_storage_enabled &&
- Feature.enabled?(:object_pools, self, default_enabled: true)
+ Gitlab::CurrentSettings.hashed_storage_enabled
end
def leave_pool_repository