-
Improvement
-
Resolution: Fixed
-
Minor
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-58361-master -
There's no reason or benefit from subclassing core_media_manager. It's a singleton so should have a private constructor. Any added functionality should be part of a media plugin.
A third party plugin that subclasses the media manager will only affect instances created of that subclass, and will not effect current areas of code calling the media manager. The current code is misleading for plugin devs