mirror of
https://github.com/moodle/moodle.git
synced 2025-03-16 05:30:06 +01:00
This commit fixes a PHP warning about using a unititialised variable and also the problems when notifications are enabled and there is not yet a teacher in the course, defaulting to admin for student notifications and preventing teacher notifications to happen.
ENROLMENT MODULES ----------------- (Yes, that's the correct English spelling ;-) ) All enrolment modules must extend base class enrol_plugin which is defined in lib/enrollib.php. You can find documentation of each method in the base class.