Skip to content

Remove unused User#new_device? method#10705

Merged
aduth merged 1 commit intomainfrom
aduth-rm-new-device
May 28, 2024
Merged

Remove unused User#new_device? method#10705
aduth merged 1 commit intomainfrom
aduth-rm-new-device

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented May 28, 2024

🛠 Summary of changes

Removes User#new_device?, as it is currently unused.

Recent work in #10628 has shifted how we consider new device for sign-in notifications to using the User#authenticated_device? method, leaving this unused.

Future work could consider renaming either NewDeviceConcern#new_device? or User#authenticated_device? to use consistent naming.

📜 Testing Plan

Verify there is no usage of User#new_device? anywhere in code, and that the build passes.

changelog: Internal, Code Quality, Remove unused code
@aduth aduth requested a review from a team May 28, 2024 18:06
@aduth aduth merged commit 8a057e6 into main May 28, 2024
@aduth aduth deleted the aduth-rm-new-device branch May 28, 2024 18:52
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.

2 participants