summaryrefslogtreecommitdiff
path: root/app/services/upload_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/upload_service.rb')
-rw-r--r--app/services/upload_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/upload_service.rb b/app/services/upload_service.rb
index 6c5b2baff41..76700dfcdee 100644
--- a/app/services/upload_service.rb
+++ b/app/services/upload_service.rb
@@ -1,4 +1,6 @@
class UploadService
+ include Gitlab::CurrentSettings
+
def initialize(model, file, uploader_class = FileUploader)
@model, @file, @uploader_class = model, file, uploader_class
end