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
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment