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:
authorAlexis Reigel <mail@koffeinfrei.org>2017-07-06 11:26:31 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 16:43:37 +0300
commit7f03282f0ff45948d3d27efe007ba77e24e19fa5 (patch)
tree09bfeb4f96ff099b264baefaf83568a62cb64457 /lib/gitlab/gpg
parenta7d2ebe508b6dde3b3ae37c5a54fc78719b199b3 (diff)
remove duplicate statement
Diffstat (limited to 'lib/gitlab/gpg')
-rw-r--r--lib/gitlab/gpg/commit.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/gpg/commit.rb b/lib/gitlab/gpg/commit.rb
index 718e77ecadc..50e8d71bb13 100644
--- a/lib/gitlab/gpg/commit.rb
+++ b/lib/gitlab/gpg/commit.rb
@@ -20,10 +20,6 @@ module Gitlab
return cached_signature if cached_signature.present?
using_keychain do |gpg_key|
- if gpg_key
- Gitlab::Gpg::CurrentKeyChain.add(gpg_key.key)
- end
-
create_cached_signature!(gpg_key)
end
end