mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
3e17cf68a4
If member sync runs before the user launches the tool, a partial record is created, without consumer secret. Subsequent launches of the tool by that member don't resolve this and this results in grade sync failing for any affected users. This patch: - data fixes the existing affected rows - fixes the launch code, ensuring secret is recorded on launch, irrespective of whether the user info record has been created already or not.
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.