Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-21544

Remove unused CRM_Contact_BAO_Contact_Optimizer class

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.28
    • Fix Version/s: 4.7.30
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      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;

      ```

       

      let's ditch it. Also a call to 

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

       

      Where custom fields is never used.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: