Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-15 16:06:19 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-15 16:06:19 +0300
commite300dac29302015cbba5b917ad5ea3657de62f0d (patch)
treee23c18222b91ca9455309de5b1b039ef5b42c4e7 /lib/gitlab/lfs/router.rb
parentbb9f827ddc51eba73c78be83b977a07e10638936 (diff)
Fix LFS specs
Diffstat (limited to 'lib/gitlab/lfs/router.rb')
-rw-r--r--lib/gitlab/lfs/router.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/lfs/router.rb b/lib/gitlab/lfs/router.rb
index 69bd5e62305..f2a76a56b8f 100644
--- a/lib/gitlab/lfs/router.rb
+++ b/lib/gitlab/lfs/router.rb
@@ -74,8 +74,6 @@ module Gitlab
lfs.render_storage_upload_authorize_response(oid, size)
else
tmp_file_name = sanitize_tmp_filename(@request.env['HTTP_X_GITLAB_LFS_TMP'])
- return nil unless tmp_file_name
-
lfs.render_storage_upload_store_response(oid, size, tmp_file_name)
end
end