gitlab-org--gitlab-foss/lib/backup/uploads.rb
Dominic Renner ad29681cab Replaced config access
Replaced Settings with Gitlab.config for uniformity
2019-03-18 17:26:18 +00:00

15 lines
276 B
Ruby

# frozen_string_literal: true
require 'backup/files'
module Backup
class Uploads < Files
attr_reader :progress
def initialize(progress)
@progress = progress
super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"))
end
end
end