DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index 5e09678..4e989e4 100644 (file)
@@ -93,9 +93,20 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
 //        }
 //    }
 
-    function sendVerification($roo)
+    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;
     }
 }