From f54cada7b7e574f0dcd4997ee4d9256f6e5d8529 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Mon, 17 Sep 2018 14:44:24 +0100 Subject: Remove Gitlab::Git::Repository#user_to_committer --- lib/gitlab/git/repository.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/gitlab') diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index 1b8d320ff3b..61786f1d896 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -581,10 +581,6 @@ module Gitlab end end - def user_to_committer(user) - Gitlab::Git.committer_hash(email: user.email, name: user.name) - end - # Delete the specified branch from the repository def delete_branch(branch_name) wrapped_gitaly_errors do -- cgit v1.2.3