public $created_dt; // datetime(19) binary
public $company_name;
public $person_type;
+
+ public $person_id;
+ public $person_table;
// function verify($key)
// {
$target->insert();
- $this->delete();
+ $this->person_id = $target->id;
+ // ok - deleting might not be a great idea.... - as we can not track already confirmed codes..
+
+ //$this->delete();
return $target;
}
);
$sent = DB_DataObject::factory('core_email')->send($content);
- print_R($sent);exit;
+
if(!is_object($sent)){
return true;
}
- return false;
+ return $sent;
}
function getEmailFrom()