No longer need the getuserinfo parameter

This commit is contained in:
moodler 2002-11-21 11:28:46 +00:00
parent 7c58aee6c7
commit 6ae24de0e1

View File

@ -1401,7 +1401,7 @@ function create_user_record($username, $password) {
// Creates a bare-bones user record
global $REMOTE_ADDR, $CFG;
if ($CFG->auth_update_userinfo and function_exists(auth_get_userinfo)) {
if (function_exists(auth_get_userinfo)) {
if ($newinfo = auth_get_userinfo($username)) {
foreach ($newinfo as $key => $value){
$newuser->$key = $value;