Skip to content

Remove unused methods#11000

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/remove-unused-methods
Jul 29, 2024
Merged

Remove unused methods#11000
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/remove-unused-methods

Conversation

@mitchellhenke
Copy link
Copy Markdown
Contributor

@mitchellhenke mitchellhenke commented Jul 29, 2024

🛠 Summary of changes

This removes a couple unused methods that seem to be left over from past refactoring.

changelog: Internal, Maintenance, Remove unused methods
Comment on lines -26 to -29
def stale_email_fingerprint?
Pii::Fingerprinter.stale?(email, email_fingerprint)
end

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

Comment on lines -63 to -65
def self.security_url
URI.join(BASE_URL, locale_segment, 'security/').to_s
end
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)

@mitchellhenke mitchellhenke merged commit cece733 into main Jul 29, 2024
@mitchellhenke mitchellhenke deleted the mitchellhenke/remove-unused-methods branch July 29, 2024 16:44
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 👍

mitchellhenke pushed a commit that referenced this pull request Jul 31, 2024
changelog: Internal, Maintenance, Remove unused methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants