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

Replace some deprecated slow function calls: some CRM_Core_OptionGroup::values with CRM_Activity_BAO_ActivityContact::buildOptions

    Details

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

      Description

      Replace CRM_Core_OptionGroup::values with CRM_Activity_BAO_ActivityContact::buildOptions where it is safe to do so (ie. parameters map directly).  There are a few which have not been changed as they require a little more analysis of the passed parameters to ensure they are still returning the correct options.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mattwire Matthew Wire
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: