diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 18:12:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 18:12:11 +0300 |
commit | 9ef26edc4ae561ba072dee3900fef4408e227b48 (patch) | |
tree | e1e0b5c575b2f39d615d6d2507663dcdf22ce22a /app/models/namespace | |
parent | 82f4de60b7943e9c4a1311efcf29ee42dc38742e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/namespace')
-rw-r--r-- | app/models/namespace/root_storage_statistics.rb | 2 |
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 |