-
Improvement
-
Resolution: Fixed
-
Minor
-
2.6.2
-
MOODLE_26_STABLE
-
MOODLE_27_STABLE
-
With the automatic class loading that was introduced in 2.6, it's possible to create an enrolment plugin that works perfectly well by putting the plugin class in classes/plugin.php. However, the way enrol_get_plugins() currently works means that this plugin will not be loaded unless you have an empty lib.php file.
It might be better if the existence of the plugin class were checked before trying to "manually" load it from lib.php
- has been marked as being related by
-
MDL-56971 enrol_get_plugin() requires lib.php
-
- Closed
-