Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-08-31 21:43:24 +0300
committerAlexis Reigel <mail@koffeinfrei.org>2017-09-05 13:18:33 +0300
commitb62c1620ea8d4260bb60303d4825a214c7ed56ee (patch)
treeaba652a9e6f1910593775b2b443f9850279cfb29 /app/models/gpg_signature.rb
parentaa98c36e470eb6b11baacac9a27c72ccf3c3a5c6 (diff)
drop backwards compatibility for valid_signature
Diffstat (limited to 'app/models/gpg_signature.rb')
-rw-r--r--app/models/gpg_signature.rb8
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