Created
March 10, 2016 20:31
-
-
Save jasonbronson/fcb5cdff4294205a564f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$data['email'] = $email; | |
$this->setConfirmationLink( $this->general->getGUID() ); | |
$data['email_confirmation_code'] = $this->getConfirmationLink(); | |
if( DB::insert('insert into leads (email, email_confirmation_code, created_date) | |
values (?, ?, now())', [$data['email'], $data['email_confirmation_code']]) ){ | |
return true; | |
}else{ | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment