summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDominic Renner <rennerdo30@gmail.com>2019-03-18 17:26:18 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-03-18 17:26:18 +0000
commitad29681cab4939c1cc9dc14c98b566f66328b1dc (patch)
tree719c7b4cb6dcc2eae5e05ef9b1e1b25404b580a0 /lib
parent2ff1324178430f806587f954e35b476d6b7fdf25 (diff)
downloadgitlab-ce-ad29681cab4939c1cc9dc14c98b566f66328b1dc.tar.gz
Replaced config access
Replaced Settings with Gitlab.config for uniformity
Diffstat (limited to 'lib')
-rw-r--r--lib/backup/uploads.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/uploads.rb b/lib/backup/uploads.rb
index 9577df2634a..5a20b6ae0a6 100644
--- a/lib/backup/uploads.rb
+++ b/lib/backup/uploads.rb
@@ -9,7 +9,7 @@ module Backup
def initialize(progress)
@progress = progress
- super('uploads', Rails.root.join('public/uploads'))
+ super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"))
end
end
end