DataObjects/Core_person_signup.php
authorEdward <edward@roojs.com>
Tue, 24 Feb 2015 08:36:21 +0000 (16:36 +0800)
committerEdward <edward@roojs.com>
Tue, 24 Feb 2015 08:36:21 +0000 (16:36 +0800)
DataObjects/Core_person_signup.php

index c95f534..4e989e4 100644 (file)
@@ -96,6 +96,17 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
     function sendVerification()
     {
         
+        $content = array(
+            'template'          => 'CORE_PERSON_SIGNUP_CONFIRM',
+        );
+
+        $sent = DB_DataObject::factory('core_email')->send($content);
+        
+        if(!is_object($sent)){
+            return true;
+        }
+        
+        return false;
     }
 }