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 unused, duplicate functions getEntitiesByTag #21209

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Aug 21, 2021

Overview

Removes an unused function as well as its evil twin.

Technical Details

According to https://issues.civicrm.org/jira/browse/CRM-13156, CRM_Core_BAO_EntityTag::getEntitiesByTag() was only ever used in the v2 API, which no longer exists.
The real mystery is why someone thought it was a good idea to copy/paste the function into CiviPetition. Seems pretty random.

According to https://issues.civicrm.org/jira/browse/CRM-13156
the functions were only ever used in the v2 API, which no longer exists.
@civibot
Copy link

civibot bot commented Aug 21, 2021

(Standard links)

@demeritcowboy
Copy link
Contributor

Yep

@seamuslee001 seamuslee001 merged commit 5aed188 into civicrm:master Aug 21, 2021
@seamuslee001 seamuslee001 deleted the removeUnusedFunctions branch August 21, 2021 22:34
@colemanw
Copy link
Member Author

So long evil twins

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.

3 participants