summaryrefslogtreecommitdiff
path: root/lib/api/internal.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 13:38:58 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-19 13:45:28 +0200
commit6d43c95b7011ec7ec4600e00bdc8df76bb39813c (patch)
treef9ee7a65904f14286d302d1af51add94922fb50d /lib/api/internal.rb
parent79f60e2b5cf388416cdc5948e19ae0401f97d353 (diff)
downloadgitlab-ce-6d43c95b7011ec7ec4600e00bdc8df76bb39813c.tar.gz
Revert all changes introduced by https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r--lib/api/internal.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb
index 090d04544da..1114fd21784 100644
--- a/lib/api/internal.rb
+++ b/lib/api/internal.rb
@@ -82,19 +82,6 @@ module API
response
end
- post "/lfs_authenticate" do
- status 200
-
- key = Key.find(params[:key_id])
- token_handler = Gitlab::LfsToken.new(key)
-
- {
- username: token_handler.actor_name,
- lfs_token: token_handler.generate,
- repository_http_path: project.http_url_to_repo
- }
- end
-
get "/merge_request_urls" do
::MergeRequests::GetUrlsService.new(project).execute(params[:changes])
end