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

Remove unused function CRM_Core_Report::dateDisplay

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.6
    • Fix Version/s: 4.7.8
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      The function dateDisplay on CRM_Report_Form does not appear to be used. There is a comment to this effect on the function and I undertook the following checks

      grepped 'dateDisplay'
      grepped 'Display(' inside the reports folder and inspected all matches
      removed the function :

      • loaded a membership report
      • the contribution detail report. I was able to add a date filter with no errors on both birth_date & a custom date field
      • opened a change log tab to check logging report
      • randomly opened half a dozen other reports

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: