CRM-12117
authorDonald A. Lobo <lobo@civicrm.org>
Sat, 16 Mar 2013 05:29:31 +0000 (22:29 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Sat, 16 Mar 2013 05:29:31 +0000 (22:29 -0700)
CRM/Event/Form/Registration/Register.php

index 5a4427ffadccf865178916dede2efcb92600174f..43edb314cf0c0b69838fe6a96b70a550dccaec88 100644 (file)
@@ -991,12 +991,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
       $this->assign('pay_later_text', $this->_values['event']['pay_later_text']);
       $this->assign('pay_later_receipt', $this->_values['event']['pay_later_receipt']);
     }
-    if (!$this->_allowConfirmation) {
-      // check if the participant is already registered
-      if (!$this->_skipDupeRegistrationCheck) {
-        $params['contact_id'] = self::checkRegistration($params, $this, FALSE, TRUE);
-      }
-    }
 
     if (CRM_Utils_Array::value('image_URL', $params)) {
       CRM_Contact_BAO_Contact::processImageParams($params);