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

ENH Don't emit deprecation warnings for unavoidable API calls #1483

Merged

Conversation

GuySartorelli
Copy link
Member

Versioned::canArchive() is deprecated in silverstripe/silverstripe-versioned#461

We can't stop calling it directly until CMS 6 because people may have implemented extensions that update the result of this permission check.

Issue

@GuySartorelli
Copy link
Member Author

behat CI failure is pre-existing and not related to this PR

@GuySartorelli GuySartorelli force-pushed the pulls/2/deprecate-canarchive branch from 2100ed7 to 13c2fcf Compare August 14, 2024 03:24
@emteknetnz emteknetnz merged commit ea42210 into silverstripe:2 Aug 15, 2024
15 checks passed
@emteknetnz emteknetnz deleted the pulls/2/deprecate-canarchive branch August 15, 2024 02:56
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