diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-02-24 22:16:04 +0300 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 16:40:41 +0300 |
commit | 0668521b2b8ed32f4a3f192a8ad04c64f6c1c0cd (patch) | |
tree | 6c3a1266ae720bb04bde8d67afe26a6ade3c061d /app/models/gpg_key.rb | |
parent | 0e3d3d60bae48f3698f9e7b0e060edb67170b11e (diff) |
move current keychain methods to namespace
Diffstat (limited to 'app/models/gpg_key.rb')
-rw-r--r-- | app/models/gpg_key.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/gpg_key.rb b/app/models/gpg_key.rb index 146ca2f2705..1101dbae4a9 100644 --- a/app/models/gpg_key.rb +++ b/app/models/gpg_key.rb @@ -40,10 +40,10 @@ class GpgKey < ActiveRecord::Base end def add_to_keychain - Gitlab::Gpg.add_to_keychain(key) + Gitlab::Gpg::CurrentKeyChain.add(key) end def remove_from_keychain - Gitlab::Gpg.remove_from_keychain(fingerprint) + Gitlab::Gpg::CurrentKeyChain.remove(fingerprint) end end |