mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
When updating a manual enrolment instance, the value of 'notifyall' field must be calculated automatically based on the value of 'expirynotify' field. The relevant plugin's method missed that, thus, the value of 'notifyall' field was never updated when editing a manual enrolment instance and changing the 'expirynotify' setting. A functional test has been added to test the entire behaviour of the relevant plugin's method.
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.