Commit 9576331e authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1712951: csv new user email sends complete information

behatnotneeded

Change-Id: I035644f81d46ade96bc9bcf7b37d176cb235405d
parent 5374019d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2508,7 +2508,8 @@ function create_user($user, $profile=array(), $institution=null, $remoteauth=nul

    reset_password($user, false, $quickhash);

    handle_event('createuser', $user);
    $createuser = clone $user;
    handle_event('createuser', $createuser);
    db_commit();
    return $user->id;
}