]> git.mjollnir.org Git - moodle.git/commit
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes...
authoriarenaza <iarenaza>
Mon, 25 Aug 2008 22:44:45 +0000 (22:44 +0000)
committeriarenaza <iarenaza>
Mon, 25 Aug 2008 22:44:45 +0000 (22:44 +0000)
commit5261baf11e13e0b7bf02272b39a9ff29989df423
treef246a5df04fc8c152f9d80f87bc14da8db5e6438
parentf4caf0df5e75a5355269311b23b55c6cecdcc354
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes array"

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.
auth/cas/auth.php
auth/db/auth.php
auth/ldap/auth.php
auth/shibboleth/auth.php
lib/moodlelib.php