diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-08-31 20:43:24 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-09-05 12:18:33 +0200 |
commit | b62c1620ea8d4260bb60303d4825a214c7ed56ee (patch) | |
tree | aba652a9e6f1910593775b2b443f9850279cfb29 /app/models/gpg_signature.rb | |
parent | aa98c36e470eb6b11baacac9a27c72ccf3c3a5c6 (diff) | |
download | gitlab-ce-b62c1620ea8d4260bb60303d4825a214c7ed56ee.tar.gz |
drop backwards compatibility for valid_signature
Diffstat (limited to 'app/models/gpg_signature.rb')
-rw-r--r-- | app/models/gpg_signature.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/gpg_signature.rb b/app/models/gpg_signature.rb index 4266b1927d8..1f047a32c84 100644 --- a/app/models/gpg_signature.rb +++ b/app/models/gpg_signature.rb @@ -20,14 +20,6 @@ class GpgSignature < ActiveRecord::Base validates :project_id, presence: true validates :gpg_key_primary_keyid, presence: true - # backwards compatibility: legacy records that weren't migrated to use the - # new `#verification_status` have `#valid_signature` set instead - def verified? - return valid_signature if verification_status.nil? - - super - end - def gpg_key_primary_keyid super&.upcase end |