Skip to content

Commit

Permalink
Added missing new user properties
Browse files Browse the repository at this point in the history
that causes problems deleting user
  • Loading branch information
jleyva committed Jul 31, 2012
1 parent a380236 commit 8946a4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tool.php
Expand Up @@ -78,6 +78,8 @@
$user->institution = $tool->institution;
$user->timezone = $tool->timezone;
$user->maildisplay = $tool->maildisplay;
$user->mnethostid = $CFG->mnet_localhost_id;
$user->confirmed = 1;

$user->lang = $tool->lang;
if (! $user->lang and isset($_POST['launch_presentation_locale'])) {
Expand Down

0 comments on commit 8946a4b

Please sign in to comment.