-
Notifications
You must be signed in to change notification settings - Fork 166
Remove unused methods #11000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused methods #11000
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,10 +23,6 @@ def confirmed? | |
| confirmed_at.present? | ||
| end | ||
|
|
||
| def stale_email_fingerprint? | ||
| Pii::Fingerprinter.stale?(email, email_fingerprint) | ||
| end | ||
|
|
||
|
Comment on lines
-26
to
-29
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
|
||
There was a problem hiding this comment.
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?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pii::Fingerprinter.stale?is used elsewhere: https://github.com/18F/identity-idp/blob/e1b0db1c81eba880abb901c50b1885bb678ad95d/app/services/pii/cacher.rb#L61There was a problem hiding this comment.
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 👍