I'm using the User Class to create new users. Here are my fields :
$udata = array(
"name"=>$data['name'],
"username"=>$data['user'],
"password"=>$data['pass'],
"email"=>$data['email'],
"block"=>0,
"groups"=>array("1","2"),
"params"=>array(
"admin_style" => "",
"admin_language" => "",
"language" => 'fr-FR',
"editor" => "",
"helpsite" => "",
"timezone" => ""
),
"requireReset"=>1,
"sendEmail"=>0,
);
I put sendEmail to 0 but the email is still sent. Is there an other way to disable this function?
Thanks for your anwser !