Skip to content
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

extract class NagState #179

Merged
merged 1 commit into from
Apr 15, 2019
Merged

extract class NagState #179

merged 1 commit into from
Apr 15, 2019

Conversation

briskt
Copy link
Contributor

@briskt briskt commented Apr 15, 2019

I pulled out the core logic of the nag processing. To extract lines like this

$this->getNagState() == NagState::NAG_ADD_MFA ? 'yes' : 'no',

adds complexity in initializing the NagState object. Could be worth it, but probably not. I didn't touch the actual nag dates (making them dependent on the presence/absence of mfa/method data) but may do that separately.

@briskt briskt merged commit 0b8f150 into develop Apr 15, 2019
@briskt briskt deleted the feature/refactor-nags branch April 15, 2019 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants