Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-21 18:12:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-21 18:12:11 +0300
commit9ef26edc4ae561ba072dee3900fef4408e227b48 (patch)
treee1e0b5c575b2f39d615d6d2507663dcdf22ce22a /app/models/namespace
parent82f4de60b7943e9c4a1311efcf29ee42dc38742e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/namespace')
-rw-r--r--app/models/namespace/root_storage_statistics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace/root_storage_statistics.rb b/app/models/namespace/root_storage_statistics.rb
index 73061b78637..99e32537595 100644
--- a/app/models/namespace/root_storage_statistics.rb
+++ b/app/models/namespace/root_storage_statistics.rb
@@ -57,7 +57,7 @@ class Namespace::RootStorageStatistics < ApplicationRecord
end
def attributes_from_personal_snippets
- return {} unless namespace.user?
+ return {} unless namespace.user_namespace?
from_personal_snippets.take.slice(SNIPPETS_SIZE_STAT_NAME)
end