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

CRM-21544 - Remove unused CRM_Contact_BAO_Contact_Optimizer class #11400

Merged
merged 1 commit into from
Dec 13, 2017

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Dec 12, 2017

Overview

Remove inactive code

Technical Details

The class CRM_Contact_BAO_Contact_Optimizer has one function that is called & it looks like

public static function edit(&$newValues, &$oldValues) {
// still need to do more work on this
// CRM-10192
return;

Also a call to
$customFields = CRM_Core_BAO_CustomField::getFields($params['contact_type'], FALSE, TRUE);

Where custom fields is never used.


@colemanw
Copy link
Member

colemanw commented Dec 12, 2017

Lol. // todo: Everything

@colemanw colemanw merged commit 4fe5b08 into civicrm:master Dec 13, 2017
@eileenmcnaughton eileenmcnaughton deleted the removal branch December 13, 2017 21:49
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
CRM-21544 - Remove unused CRM_Contact_BAO_Contact_Optimizer class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants