Merge pull request #27651 from edx/bseverino/drop-expiry-date

[MST-785] Remove expiry_date from SoftwareSecurePhotoVerification
This commit is contained in:
Bianca Severino
2021-05-17 13:34:24 -04:00
committed by GitHub

View File

@@ -640,9 +640,6 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
IMAGE_LINK_DURATION = 5 * 60 * 60 * 24 # 5 days in seconds
copy_id_photo_from = models.ForeignKey("self", null=True, blank=True, on_delete=models.CASCADE)
# DEPRECATED: the `expiry_date` field has been replaced by `expiration_date`
expiry_date = models.DateTimeField(null=True, blank=True, db_index=True)
# This field is used to maintain a check for learners to which email
# to notify for expired verification is already sent.
expiry_email_date = models.DateTimeField(null=True, blank=True, db_index=True)