|
|
@ -60,8 +60,8 @@ if ($data = $mform->get_data()) { |
|
|
|
$user->auth = 'manual'; |
|
|
|
$user->confirmed = 1; |
|
|
|
$user->deleted = 1; |
|
|
|
$user->email = time().'@ghost.user.de'; |
|
|
|
$user->username = time().'@ghost.user.de'; |
|
|
|
$user->email = time().'@attendance.danmarsden.com'; |
|
|
|
$user->username = time().'@attendance.danmarsden.com'; |
|
|
|
$user->idnumber = 'tempghost'; |
|
|
|
$user->mnethostid = $CFG->mnet_localhost_id; |
|
|
|
$studentid = $DB->insert_record('user', $user); |
|
|
|