Commit c44b9791 by Félicie

mail revoved

parent 1b490a48
......@@ -297,8 +297,8 @@ if (!isset($userid) && qa_opt('allow_anonymous_naming')) {
qa_set_up_name_field($qa_content, $qa_content['form']['fields'], @$in['name']);
}
qa_set_up_notify_fields($qa_content, $qa_content['form']['fields'], 'Q', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email']);
// qa_set_up_notify_fields($qa_content, $qa_content['form']['fields'], 'Q', qa_get_logged_in_email(),
// isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email']);
if ($captchareason) {
require_once QA_INCLUDE_DIR.'app/captcha.php';
......
......@@ -980,8 +980,8 @@ function qa_page_q_add_a_form(&$qa_content, $formid, $captchareason, $question,
if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming'))
qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], 'a_');
qa_set_up_notify_fields($qa_content, $form['fields'], 'A', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], 'a_');
// qa_set_up_notify_fields($qa_content, $form['fields'], 'A', qa_get_logged_in_email(),
// isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], 'a_');
$onloads = array();
......@@ -1130,8 +1130,8 @@ function qa_page_q_add_c_form(&$qa_content, $question, $parent, $formid, $captch
if (!qa_is_logged_in() && qa_opt('allow_anonymous_naming'))
qa_set_up_name_field($qa_content, $form['fields'], @$in['name'], $prefix);
qa_set_up_notify_fields($qa_content, $form['fields'], 'C', qa_get_logged_in_email(),
isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], $prefix);
// qa_set_up_notify_fields($qa_content, $form['fields'], 'C', qa_get_logged_in_email(),
// isset($in['notify']) ? $in['notify'] : qa_opt('notify_users_default'), @$in['email'], @$errors['email'], $prefix);
$onloads = array();
......
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