diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-06 11:26:31 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 16:43:37 +0300 |
commit | 7f03282f0ff45948d3d27efe007ba77e24e19fa5 (patch) | |
tree | 09bfeb4f96ff099b264baefaf83568a62cb64457 /lib/gitlab/gpg | |
parent | a7d2ebe508b6dde3b3ae37c5a54fc78719b199b3 (diff) |
remove duplicate statement
Diffstat (limited to 'lib/gitlab/gpg')
-rw-r--r-- | lib/gitlab/gpg/commit.rb | 4 |
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 |