mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-72634 user: populate default city/country during user creation.
This commit is contained in:
parent
34ce1463cc
commit
b6d8939959
3 changed files with 37 additions and 4 deletions
|
@ -3902,10 +3902,6 @@ function create_user_record($username, $password, $auth = 'manual') {
|
|||
}
|
||||
}
|
||||
|
||||
if (!isset($newuser->city)) {
|
||||
$newuser->city = '';
|
||||
}
|
||||
|
||||
$newuser->auth = $auth;
|
||||
$newuser->username = $username;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue