Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76815

Consistent use of method to determine component of report audience

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.2
    • Report builder

    Description

      Noticed while fixing MDL-76812 - we can improve the code to determine the component of a report audience (that being the plugin/subsystem in which the audience class resides) by removing the duplication we have:

      1. In the audience cards exporter; and
      2. In the audience class helper

      & instead calling the appropriate method of the base class. This method is currently unused, and I think is poorly named/documented as to it's purpose, so we should find a more descriptive name for it at the same time

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              David Matamoros David Matamoros
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Carlos Castillo, David Matamoros, Mikel Martín Corrales, Paul Holden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Apr/23

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m