X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FForm%2FSubscribe.php;h=110cb39395a76472e06e0ab4079a7ab39d5ef2aa;hb=41d9d3cf16473f590b572f4c9851e180b4b0ff0c;hp=2f045d42c71ace70e76998fad56fe51c602052f2;hpb=4080069b01751c39b4dfdb61c887528323c71d36;p=civicrm-core.git diff --git a/CRM/Mailing/Form/Subscribe.php b/CRM/Mailing/Form/Subscribe.php index 2f045d42c7..110cb39395 100644 --- a/CRM/Mailing/Form/Subscribe.php +++ b/CRM/Mailing/Form/Subscribe.php @@ -105,24 +105,12 @@ ORDER BY title"; $this->addFormRule(['CRM_Mailing_Form_Subscribe', 'formRule']); } - // CRM-11316 Enable ReCAPTCHA for anonymous visitors - $session = CRM_Core_Session::singleton(); - $contactID = $session->get('userID'); - - if (!$contactID) { - CRM_Utils_ReCAPTCHA::enableCaptchaOnForm($this); - } - $this->addButtons([ [ 'type' => 'next', 'name' => ts('Subscribe'), 'isDefault' => TRUE, ], - [ - 'type' => 'cancel', - 'name' => ts('Cancel'), - ], ]); }