Commit 232acbc0 authored by Nick Thomas's avatar Nick Thomas

Remove a duplicate method in ObjectStoreUploader

parent a44955b6
...@@ -120,10 +120,6 @@ class ObjectStoreUploader < CarrierWave::Uploader::Base ...@@ -120,10 +120,6 @@ class ObjectStoreUploader < CarrierWave::Uploader::Base
raise 'Object Storage feature is missing' unless subject.project.feature_available?(:object_storage) raise 'Object Storage feature is missing' unless subject.project.feature_available?(:object_storage)
end end
def file_storage?
storage.is_a?(CarrierWave::Storage::File)
end
def exists? def exists?
file.try(:exists?) file.try(:exists?)
end end
......
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