Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
- Covered by automated tests
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:
- In the audience cards exporter; and
- 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
- Discovered while testing
-
MDL-76812 Report audience exporter doesn't uniquely key the menu cards
-
- Closed
-