forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-76055 auth_mnet: Fix update_enrolments request
Basically this fixes MDL-70833 that was reproduced while testing the update_enrolments requests. Summary: - Fixes a typo in table name preventing it to be updated ever. - Fix outer join that was missing records. - Stop playing and mixing ids (local and remote). - Better control which enrolments have to be kept (previously they were being deleted immediately after creating them). - Improve the coding style of inserts. - Modernise the deletions to use sql helper and to work with 0..n ids.
- Loading branch information
Showing
1 changed file
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters