Commit c9a7c80a authored by Robert Speicher's avatar Robert Speicher

Merge branch 'unify-uploaders-objects_storage.rb' into 'master'

Unify from EE for app/uploaders/object_storage.rb

See merge request gitlab-org/gitlab-ce!19660
parents a8da4f3f c854fe21
......@@ -22,10 +22,10 @@ module ObjectStorage
module RecordsUploads
extend ActiveSupport::Concern
def prepended(base)
prepended do |base|
raise "#{base} must include ObjectStorage::Concern to use extensions." unless base < Concern
base.include(RecordsUploads::Concern)
base.include(::RecordsUploads::Concern)
end
def retrieve_from_store!(identifier)
......
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