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

settings.php - Invert logic to reduce disk reads if non-ddev environment #4843

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

Novitsh
Copy link
Contributor

@Novitsh Novitsh commented Apr 21, 2023

This solves #4838

The Issue

How This PR Solves The Issue

It inverts the logic, thus on non-ddev environments, it will not read the disk unneeded.

Manual Testing Instructions

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

@Novitsh Novitsh requested a review from a team as a code owner April 21, 2023 06:50
@rfay
Copy link
Member

rfay commented Apr 21, 2023

Thanks for the contribution!

Please add manual testing instructions, and please execute them yourself and report the results. https://ddev.readthedocs.io/en/latest/developers/building-contributing/#testing-a-pr

@github-actions
Copy link

@rfay rfay changed the title Invert logic to reduce on most environments (non-ddev) disk reads settings.php - Invert logic to reduce disk reads if non-ddev environment Apr 21, 2023
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

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

Code looks fine; tested manually, all seems fine.

@rfay rfay merged commit 8405e43 into ddev:master Apr 27, 2023
11 checks passed
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.

None yet

2 participants