Commit c614089d authored by Micaël Bergeron's avatar Micaël Bergeron

porting upstream changes

parent 07eb2f12
...@@ -35,12 +35,12 @@ class GitlabUploader < CarrierWave::Uploader::Base ...@@ -35,12 +35,12 @@ class GitlabUploader < CarrierWave::Uploader::Base
# Reduce disk IO # Reduce disk IO
def move_to_cache def move_to_cache
super || true super.nil? ? true : super
end end
# Reduce disk IO # Reduce disk IO
def move_to_store def move_to_store
super || true super.nil? ? true : super
end end
def exists? def exists?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment