mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Merge branch 'MDL-53401-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
11e60abf75
@ -302,7 +302,7 @@ class auth_plugin_mnet extends auth_plugin_base {
|
||||
$remoteuser->firstaccess = 0;
|
||||
$remoteuser->confirmed = 1;
|
||||
|
||||
$remoteuser->id = $DB->insert_record('user', $remoteuser);
|
||||
$remoteuser->id = user_create_user($remoteuser, false);
|
||||
$firsttime = true;
|
||||
$localuser = $remoteuser;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user