summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 08:48:44 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-04-10 08:48:44 +1100
commitad27f20426975cf515fd55e4b5b75e5d4703315c (patch)
tree84101fcea712f011ba69f30d53ab0ad9c00fb824 /app/uploaders
parent01adf920c4da977328c38836327681eb4c52cbee (diff)
downloadgitlab-ce-ad27f20426975cf515fd55e4b5b75e5d4703315c.tar.gz
Periodically clean up temporary upload files to recover storage space
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/file_uploader.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb
index d6ccf0dc92c..d2783ce5b2f 100644
--- a/app/uploaders/file_uploader.rb
+++ b/app/uploaders/file_uploader.rb
@@ -38,10 +38,6 @@ class FileUploader < GitlabUploader
File.join(dynamic_path_segment, @secret)
end
- def cache_dir
- File.join(base_dir, 'tmp', @project.path_with_namespace, @secret)
- end
-
def model
project
end