summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2017-10-02 21:14:44 -0500
committerRubén Dávila <ruben@gitlab.com>2017-10-05 08:26:02 -0500
commit8be06f20fc64b027911ad75e05afaf0697444d6a (patch)
treef61ba851a724b9f6cdca703f18d8b86b577081a2
parent8d296b62e4534820feb94cfe0d8b5d3e34f6ee33 (diff)
downloadgitlab-ce-8be06f20fc64b027911ad75e05afaf0697444d6a.tar.gz
Remove no longer required methods
-rw-r--r--app/models/gpg_key_subkey.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/models/gpg_key_subkey.rb b/app/models/gpg_key_subkey.rb
index 1f3ec2a8f68..b57922aba30 100644
--- a/app/models/gpg_key_subkey.rb
+++ b/app/models/gpg_key_subkey.rb
@@ -19,14 +19,4 @@ class GpgKeySubkey < ActiveRecord::Base
def fingerprint
super&.upcase
end
-
- def method_missing(m, *a, &b)
- return super unless gpg_key.respond_to?(m)
-
- gpg_key.public_send(m, *a, &b) # rubocop:disable GitlabSecurity/PublicSend
- end
-
- def respond_to_missing?(method, include_private = false)
- gpg_key.respond_to?(method, include_private) || super
- end
end