From 6a7a4e5e16ad174fc6e5bacb72766f0c2f353bf4 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 24 Feb 2015 17:11:40 +0800 Subject: [PATCH] DataObjects/Core_person_signup.php --- DataObjects/Core_person_signup.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/DataObjects/Core_person_signup.php b/DataObjects/Core_person_signup.php index 3b66708a..22fc4a9a 100644 --- a/DataObjects/Core_person_signup.php +++ b/DataObjects/Core_person_signup.php @@ -93,6 +93,19 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject // } // } + function verified() + { + $hydra_person = DB_DataObject::factory('hydra_person'); + + if($hydra_person->get('email', $this->email)){ + return $hydra_person; + } + + $hydra_person->setFrom(array( + + )); + } + function sendVerification($template, $roo) { -- 2.39.2