summaryrefslogtreecommitdiff
path: root/app/models/project_statistics.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 21:09:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 21:09:35 +0000
commit6ae4485274362bf656fae249a1409266a211d255 (patch)
tree91401fff86a431833c57cc145f8c5d6bc1142318 /app/models/project_statistics.rb
parent2f7719abdfde4cb50ed05346b98bac26ea06a8de (diff)
downloadgitlab-ce-6ae4485274362bf656fae249a1409266a211d255.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_statistics.rb')
-rw-r--r--app/models/project_statistics.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/project_statistics.rb b/app/models/project_statistics.rb
index 5f972c1f506..a0af1b47d01 100644
--- a/app/models/project_statistics.rb
+++ b/app/models/project_statistics.rb
@@ -77,8 +77,6 @@ class ProjectStatistics < ApplicationRecord
end
def update_container_registry_size
- return unless Feature.enabled?(:container_registry_project_statistics, project)
-
self.container_registry_size = project.container_repositories_size || 0
end