Merge branch 'ilosada-7225chamilo' into 1.9.x

1.9.x
Yannick Warnier 10 years ago
commit 7cc8efb36c
  1. 1
      main/inc/ajax/user_manager.ajax.php
  2. 2
      main/user/user_add.php

@ -82,7 +82,6 @@ switch ($action) {
//Send and email if account is active
if ($status == 1) {
$user_info = api_get_user_info($user_id);
$recipient_name = api_get_person_name($user_info['firstname'], $user_info['lastname'], null, PERSON_NAME_EMAIL_ADDRESS);
$emailsubject = '['.api_get_setting('siteName').'] '.get_lang('YourReg').' '.api_get_setting('siteName');

@ -222,8 +222,6 @@ if($register) {
$additionalParameters
);
//@api_mail($recipient_name, $email_form, $emailsubject, $emailbody, $sender_name,$email_admin);
/*
* remove <form> variables to prevent any pre-filled fields
*/

Loading…
Cancel
Save