diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-13 15:12:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-13 15:12:59 +0300 |
commit | b0891151f160d287e48a5317d3152b195ef950ae (patch) | |
tree | 88070363b2f28de0dfb3b0bdf77d71e9fa228e54 /app/models/gpg_key.rb | |
parent | 9bc96aa4f94943af9972ca7058ed31771bbcaa53 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/gpg_key.rb')
-rw-r--r-- | app/models/gpg_key.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/gpg_key.rb b/app/models/gpg_key.rb index 0cb3662368c..a56e28859c9 100644 --- a/app/models/gpg_key.rb +++ b/app/models/gpg_key.rb @@ -92,13 +92,13 @@ class GpgKey < ApplicationRecord end def revoke - GpgSignature + CommitSignatures::GpgSignature .with_key_and_subkeys(self) - .where.not(verification_status: GpgSignature.verification_statuses[:unknown_key]) + .where.not(verification_status: CommitSignatures::GpgSignature.verification_statuses[:unknown_key]) .update_all( gpg_key_id: nil, gpg_key_subkey_id: nil, - verification_status: GpgSignature.verification_statuses[:unknown_key], + verification_status: CommitSignatures::GpgSignature.verification_statuses[:unknown_key], updated_at: Time.zone.now ) |