summaryrefslogtreecommitdiff
path: root/app/models/gpg_key.rb
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-02-24 20:16:04 +0100
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 15:40:41 +0200
commit0668521b2b8ed32f4a3f192a8ad04c64f6c1c0cd (patch)
tree6c3a1266ae720bb04bde8d67afe26a6ade3c061d /app/models/gpg_key.rb
parent0e3d3d60bae48f3698f9e7b0e060edb67170b11e (diff)
downloadgitlab-ce-0668521b2b8ed32f4a3f192a8ad04c64f6c1c0cd.tar.gz
move current keychain methods to namespace
Diffstat (limited to 'app/models/gpg_key.rb')
-rw-r--r--app/models/gpg_key.rb4
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