province abbreviation patch - issue 724
[civicrm-core.git] / CRM / Mailing / Form / Subscribe.php
index e0fab640c5a4b4baf8c65babf34c56bcb4dbe660..110cb39395a76472e06e0ab4079a7ab39d5ef2aa 100644 (file)
@@ -105,14 +105,6 @@ 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',