summaryrefslogtreecommitdiff
path: root/app/helpers/storage_helper.rb
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-05-02 18:37:38 +0000
committerWinnie Hellmann <winnie@gitlab.com>2019-05-02 18:37:38 +0000
commitca09e3fce7d739b41ab0e45d05a878be0e0b8356 (patch)
tree64fc578138377b1d6111b2ae91a0f522b756a5aa /app/helpers/storage_helper.rb
parentacaef5e35b9519b5e4ebcefee274e8c8f3d8c85a (diff)
downloadgitlab-ce-revert-f1526ccd.tar.gz
Revert "Merge branch 'ac-package-storage-stats' into 'master'"revert-f1526ccd
This reverts merge request !27373
Diffstat (limited to 'app/helpers/storage_helper.rb')
-rw-r--r--app/helpers/storage_helper.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/helpers/storage_helper.rb b/app/helpers/storage_helper.rb
index 15041bd5805..be8761db562 100644
--- a/app/helpers/storage_helper.rb
+++ b/app/helpers/storage_helper.rb
@@ -6,14 +6,4 @@ module StorageHelper
number_to_human_size(size_in_bytes, delimiter: ',', precision: precision, significant: false)
end
-
- def storage_counters_details(statistics)
- counters = {
- counter_repositories: storage_counter(statistics.repository_size),
- counter_build_artifacts: storage_counter(statistics.build_artifacts_size),
- counter_lfs_objects: storage_counter(statistics.lfs_objects_size)
- }
-
- _("%{counter_repositories} repositories, %{counter_build_artifacts} build artifacts, %{counter_lfs_objects} LFS") % counters
- end
end