Commit 8be06f20 authored by Rubén Dávila's avatar Rubén Dávila

Remove no longer required methods

parent 8d296b62
...@@ -19,14 +19,4 @@ class GpgKeySubkey < ActiveRecord::Base ...@@ -19,14 +19,4 @@ class GpgKeySubkey < ActiveRecord::Base
def fingerprint def fingerprint
super&.upcase super&.upcase
end 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 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