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

Remove unused variables from \CRM_Utils_Address::format

    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

      Non-functional change.

      The $contactName variable is no longer referenced, and there is logic that has been implemented to infer it.

      Since the variable is no longer used, we can remove it, along with the logic that sets it.

        Attachments

          Activity

            People

            • Assignee:
              john John K.
              Reporter:
              john John K.
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m