Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No longer need the getuserinfo parameter

  • Loading branch information...
commit 6ae24de0e11c7b5f6db73b8a9fc31d6de73a501d 1 parent 7c58aee
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
View
2  lib/moodlelib.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.