Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions app/models/email_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ def confirmed?
confirmed_at.present?
end

def stale_email_fingerprint?
Pii::Fingerprinter.stale?(email, email_fingerprint)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stale? method might now be unused after this method is removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, I missed that one.

Okeydoke 👍

end

Comment on lines -26 to -29
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was no longer used after #7800

def confirmation_period_expired?
expiration_time = confirmation_sent_at +
IdentityConfig.store.add_email_link_valid_for_hours.hours
Expand Down
4 changes: 0 additions & 4 deletions app/services/marketing_site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ def self.help_url
URI.join(BASE_URL, locale_segment, 'help/').to_s
end

def self.security_url
URI.join(BASE_URL, locale_segment, 'security/').to_s
end
Comment on lines -63 to -65
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was no longer used after #8508 and the URL is no longer correct either (login.gov/security now redirects to login.gov/policy)


def self.accessibility_statement_url
URI.join(BASE_URL, locale_segment, 'accessibility/').to_s
end
Expand Down