porting upstream changes

This commit is contained in:
Micaël Bergeron 2018-02-01 12:13:09 -05:00
parent 07eb2f1297
commit c614089d65
1 changed files with 2 additions and 2 deletions

View File

@ -35,12 +35,12 @@ class GitlabUploader < CarrierWave::Uploader::Base
# Reduce disk IO
def move_to_cache
super || true
super.nil? ? true : super
end
# Reduce disk IO
def move_to_store
super || true
super.nil? ? true : super
end
def exists?