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

Setting::getItem - use deprecatedWarning instead of just logging #21625

Merged
merged 1 commit into from
Sep 26, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

I don't think this will change anything in core, but let's see if anything comes up in tests.

@civibot
Copy link

civibot bot commented Sep 26, 2021

(Standard links)

@civibot civibot bot added the master label Sep 26, 2021
@eileenmcnaughton
Copy link
Contributor

Yeah I guess those would fail - we can remove those tests now

@demeritcowboy
Copy link
Contributor Author

Is there still value in testing civicrm_setting overrides for core and custom settings? I've updated the test so it still does that.

@eileenmcnaughton
Copy link
Contributor

@demeritcowboy I think there is still value in testing the functionality - but via Civi::setting()->get() or the api

@demeritcowboy
Copy link
Contributor Author

Ok updated.

@eileenmcnaughton eileenmcnaughton merged commit 7fd2543 into civicrm:master Sep 26, 2021
@demeritcowboy demeritcowboy deleted the settings-dep branch September 27, 2021 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants