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

Remove unused function CRM_Core_Pseudoconstant::greetingDefaults

    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: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      On review I find the function CRM_Core_Pseudoconstant::greetingDefaults to be called from only one place: 

      CRM_Core_PseudoConstant::processGreetings

       

      It is only called if the value $useDefaults is passed in. CRM_Core_PseudoConstant::processGreetings is called from one place and $useDefaults is NOT passed in

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: