Skip to content

Commit

Permalink
Merge pull request #11400 from eileenmcnaughton/removal
Browse files Browse the repository at this point in the history
CRM-21544 - Remove unused CRM_Contact_BAO_Contact_Optimizer class
  • Loading branch information
colemanw authored Dec 13, 2017
2 parents 3bb2efa + 6b615e5 commit 4fe5b08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 194 deletions.
190 changes: 0 additions & 190 deletions CRM/Contact/BAO/Contact/Optimizer.php

This file was deleted.

4 changes: 0 additions & 4 deletions CRM/Contact/Form/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -866,8 +866,6 @@ public function postProcess() {
}
}

CRM_Contact_BAO_Contact_Optimizer::edit($params, $this->_preEditValues);

if (!empty($params['image_URL'])) {
CRM_Contact_BAO_Contact::processImageParams($params);
}
Expand Down Expand Up @@ -916,8 +914,6 @@ public function postProcess() {
CRM_Utils_Hook::pre('create', $params['contact_type'], NULL, $params);
}

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

//CRM-5143
//if subtype is set, send subtype as extend to validate subtype customfield
$customFieldExtends = (CRM_Utils_Array::value('contact_sub_type', $params)) ? $params['contact_sub_type'] : $params['contact_type'];
Expand Down

0 comments on commit 4fe5b08

Please sign in to comment.