Commit 7f03282f authored by Alexis Reigel's avatar Alexis Reigel

remove duplicate statement

parent a7d2ebe5
...@@ -20,10 +20,6 @@ module Gitlab ...@@ -20,10 +20,6 @@ module Gitlab
return cached_signature if cached_signature.present? return cached_signature if cached_signature.present?
using_keychain do |gpg_key| using_keychain do |gpg_key|
if gpg_key
Gitlab::Gpg::CurrentKeyChain.add(gpg_key.key)
end
create_cached_signature!(gpg_key) create_cached_signature!(gpg_key)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment