-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
CRM_Core_BAO_Cache - Remove functions deprecated a year ago #17989
Conversation
(Standard links)
|
c22aa4b
to
d4341a0
Compare
@eileenmcnaughton test fails relate |
Yeah, a year is a pretty fair wind-down period (esp considering that the transition actually started a few years before the official deprecation). I did a grep on a recent
The required updates should be pretty simple - i.e. swapping
|
d4341a0
to
90936fd
Compare
Thanks @totten - I think you ping on top of a year of noisy deprecation notices should be enough. I've fixed the tests |
Overview -------- The constant `CIVICRM_BAO_CACHE_ADAPTER` was a low-visibility transitional option added during early 5.x. It facilitated the deprecation of `CRM_Core_BAO_Cache` (in favor of `Civi::cache()`). The option allowed certain builds/configurations to be tested in a "purer" configuration where `Civi::cache()` handled all storage. However, following civicrm#17989, the deprecated functions no longer exist. Hence, there's no need for transitional mechanism to support them. The replacements are now mainline. Before ------- There's some obsolete stuff hanging around. After ----- The obsolete stuff is taking a long walk to the moon.
Test failure looks unrelated. We've given a small pause on the pings, but I don't really expect pushback, and those new filings by @eileenmcnaughton were good idea. Merging. |
Overview -------- The constant `CIVICRM_BAO_CACHE_ADAPTER` was a low-visibility transitional option added during early 5.x. It facilitated the deprecation of `CRM_Core_BAO_Cache` (in favor of `Civi::cache()`). The option allowed certain builds/configurations to be tested in a "purer" configuration where `Civi::cache()` handled all storage. However, following civicrm#17989, the deprecated functions no longer exist. Hence, there's no need for transitional mechanism to support them. The replacements are now mainline. Before ------- There's some obsolete stuff hanging around. After ----- The obsolete stuff is taking a long walk to the moon.
Overview
Remove functions deprecated a year ago in the CRM_Core_BAO_Cache class
Before
After
Poof
Technical Details
These have been spitting out deprecation notices for a year
Comments