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 unused function. #15070

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

I noticed this has been deprecated for over a year (& is unused). Removing

Before

Screen Shot 2019-08-19 at 10 28 16 AM

After

Gone

Technical Details

We generally deprecate functions before removing them to ease the path of extensions calling BAO functions (which is not supported but this seems to reduce risk of pain). This removes

Comments

@mattwire

I noticed this has been deprecated for over a year (& is unused). Removing
@civibot
Copy link

civibot bot commented Aug 18, 2019

(Standard links)

@civibot civibot bot added the master label Aug 18, 2019
@totten totten added the merge ready PR will be merged after a few days if there are no objections label Aug 20, 2019
@totten
Copy link
Member

totten commented Aug 20, 2019

Confirmed that nothing else in universe references getMembershipTypesByOrg.

There is a subtle reference in tests/phpunit/CRM/Member/BAO/MembershipTypeTest.php (wherein a test-function is named for the removed function), but it appears the test's substance is now focused on the API equivalent. Small cleanup opportunity to move it somewhere else, but that's a minor nitpick.

Would do merge-on-pass.. Leaving 'merge-ready' b/c Eileen has a ping out to Matt about this one.

@eileenmcnaughton
Copy link
Contributor Author

Merging as ping means ' you may be interested' not 'I need your response' - should I avoid pinging people in case it's seen as blocking?

@eileenmcnaughton eileenmcnaughton merged commit 5c6e2e6 into civicrm:master Aug 20, 2019
@eileenmcnaughton eileenmcnaughton deleted the deprecation branch August 20, 2019 04:49
@totten
Copy link
Member

totten commented Aug 20, 2019

lol, no, please ping people who might be interested. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
master merge ready PR will be merged after a few days if there are no objections
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants