cc980d0197
Alter self enrolment creation form to enforce max field lengths. Limit "Custom instance name" (name) form field to 255 characters via maxlength. Limit "Enrolment key" (password) form field to 50 characters via maxlength. Fix for when the form is submitted causing a database write error to be thrown as corresponding field "name" in the table mdl_enrol is set to varchar(255) and database field "password" is varying(50).
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.