mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
5261baf11e
Merged from MOODLE_18_STABLE. The fix is wrong, as it breaks auth_db_sync_users.php and auth_ldap_sync_users.php at least. No new users are added to Moodle, as the username is missing from the new user info record. The fix needs to go into update_user_record() in lib/moodlelib.php to make it skip the 'username' key, as we really need get_userinfo() to return the username as part of the user info array.