mirror of
https://github.com/moodle/moodle.git
synced 2025-03-23 00:50:15 +01:00
This handles things like site policies, which store the current URL, redirect to the policy agreement, then redirect back the current URL afterwards. In such cases, we want to redirect back with 'launchid' set so that we can fetch the id_token from the session cache. This is the same thing we already do during account binding, so the patch only makes sure the PAGE->url is properly set before calling require_login.
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.