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 Remove deprecated API #624

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli marked this pull request as draft January 7, 2025 23:16
* @param array $permissionCodes
* @return DataList<Member>
*/
public function getMembersByPermission($permissionCodes = ['ADMIN'])
Copy link
Member Author

Choose a reason for hiding this comment

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

This method was added in 5e9b672 which has no context whatsoever about what its intended use was or how it was intended to work.

Right now it just simply doesn't work. I had a choice between fixing it and removing it, and since there's no context about how it should work and it's impossible for anyone to use right now anyway, fixing it just didn't seem worthwhile.

@GuySartorelli GuySartorelli changed the title API Remove deprecated param from SubSite::get_from_all_subsites() API Remove deprecated API Jan 8, 2025
@GuySartorelli GuySartorelli marked this pull request as ready for review January 8, 2025 21:32
@emteknetnz emteknetnz merged commit 62f3a86 into silverstripe:4.0 Jan 9, 2025
12 checks passed
@emteknetnz emteknetnz deleted the pulls/4.0/join-param branch January 9, 2025 21:46
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