/*$nonUser = TonyMailingListNonUser::getByEmail( $this->email );
if($nonUser){
$this->errorMsgs[]=t('Email already exists');
return false;
}*/if( (!is_object($u) || !intval($u->uID)) ){ /*$nonUser = TonyMailingListNonUser::getByEmail($submittedEmail); if(!$nonUser){*/ $nonUser = new TonyMailingListNonUser( array('email'=>$submittedEmail,'attrData'=>$nonUserAttrData) ); $nonUser->create(); /*}else{ $nonUser->attrDataRaw = serialize($nonUserAttrData); $nonUser->update(); }*/ //is there a registered user record with this same email address? $ui = UserInfo::getByEmail( $submittedEmail ); }
As far as disabling this check goes, it actually happens in at least two places, on the subscriptions side of things, and during the send process. I'm not sure if you'd run into some other adverse side-effects if you disabled both of these. I can point you to those sections of code if you'd like, but I'm hoping that after you explain your problem we might be able to come up with a better solution.