diff --git a/contact_form.php b/contact_form.php index b98524d0754c99bc4fcd8a217f348b19635b8be5..942393eaeb82c01115d8bcb33842e38c8aebfe05 100644 --- a/contact_form.php +++ b/contact_form.php @@ -47,11 +47,10 @@ class contact_form extends moodleform { $mform->setDefault('email', $USER->email); $mform->setDefault('telephone', $USER->phone1); } - if (!empty($CFG->recaptchapublickey) && !empty($CFG->recaptchaprivatekey)) { - $mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), 'style="margin: 10em"'); - - } - +// if (!empty($CFG->recaptchapublickey) && !empty($CFG->recaptchaprivatekey)) { +// $mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), 'style="margin: 10em"'); +// +// } $this->add_action_buttons(true, get_string('submit', 'local_hsh')); }