Permalink
Browse files

No longer need the getuserinfo parameter

  • Loading branch information...
1 parent 7c58aee commit 6ae24de0e11c7b5f6db73b8a9fc31d6de73a501d moodler committed Nov 21, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -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;

0 comments on commit 6ae24de

Please sign in to comment.