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

Remove deprecated helper method page_active? #2074

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

robinboening
Copy link
Contributor

No description provided.

@tvdeyen tvdeyen added this to the 6.0 milestone Apr 20, 2021
@tvdeyen
Copy link
Member

tvdeyen commented Apr 20, 2021

@robinboening would you mind the rebase the deprecation out of this PR? The main branch already is v6.0 and the deprecation needs to happen in 5.2-stable.

this helper was relying on `Page.ancestors_for` which is gone since Alchemy 5.0. We don't need `page_active?` any longer, hence the removal in Alchemy 6.0.

Side note: In a separate commit a hotfix and deprecation notice has been added for Alchemy versions 5.0, 5.1 and 5.2.
@robinboening robinboening force-pushed the remove_page_active_helper branch from 7826de3 to f62a675 Compare April 20, 2021 20:52
@robinboening
Copy link
Contributor Author

robinboening commented Apr 20, 2021

My thinking was it doesn't harm to have the deprecation and explanation in the history here as well, but it doesn't matter so I just took it out.

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thanks

@tvdeyen tvdeyen merged commit f17fc1e into AlchemyCMS:main Apr 22, 2021
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