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

API Do not raise user_error from Controller::curr() #11613

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Feb 13, 2025

Issue #11386

This PR also removes Controller::has_curr() as it's no longer needed since Controller::curr() will now return null which can be tested against

@emteknetnz emteknetnz force-pushed the pulls/6.0/remove-ctrl-curr branch from c243490 to 48e17a1 Compare February 13, 2025 02:36
@emteknetnz emteknetnz changed the title API Remove Controller::has_curr() API Do not raise user_error from Controller::curr() Feb 13, 2025
@emteknetnz emteknetnz marked this pull request as ready for review February 13, 2025 21:24
@GuySartorelli
Copy link
Member

@emteknetnz I don't see removal of the deprecation warning - please check that #11614 got merged up and that this has been rebased

@emteknetnz emteknetnz force-pushed the pulls/6.0/remove-ctrl-curr branch from 48e17a1 to 32598bb Compare February 13, 2025 23:19
@emteknetnz
Copy link
Member Author

Ah yup was missing, have done that now

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

LGTM

@GuySartorelli GuySartorelli merged commit 8bb82b3 into silverstripe:6.0 Feb 16, 2025
6 of 12 checks passed
@GuySartorelli GuySartorelli deleted the pulls/6.0/remove-ctrl-curr branch February 16, 2025 20:47
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