summaryrefslogtreecommitdiff
path: root/app/models/namespace/root_storage_statistics.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/namespace/root_storage_statistics.rb')
-rw-r--r--app/models/namespace/root_storage_statistics.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/namespace/root_storage_statistics.rb b/app/models/namespace/root_storage_statistics.rb
index 0443e1d9231..c7670351f4b 100644
--- a/app/models/namespace/root_storage_statistics.rb
+++ b/app/models/namespace/root_storage_statistics.rb
@@ -60,8 +60,6 @@ class Namespace::RootStorageStatistics < ApplicationRecord
end
def attributes_for_forks_statistics
- return {} unless ::Feature.enabled?(:root_storage_statistics_calculate_forks, namespace)
-
visibility_levels_to_storage_size_columns = {
Gitlab::VisibilityLevel::PRIVATE => :private_forks_storage_size,
Gitlab::VisibilityLevel::INTERNAL => :internal_forks_storage_size,