DataObjects/Core_person_signup.php
authorEdward <edward@roojs.com>
Thu, 14 May 2015 11:36:50 +0000 (19:36 +0800)
committerEdward <edward@roojs.com>
Thu, 14 May 2015 11:36:50 +0000 (19:36 +0800)
DataObjects/Core_person_signup.php

index bb6e010..c32a79e 100644 (file)
@@ -41,11 +41,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
         // this shold not really happen...
         if($target->get('email', $this->email)){
             
-            $this->person_id = $target->id;
-            $this->person_table = $target->tableName();
-            $this->update($old);
-            
-            return $target;
+            return false;
         }
         
         $target->setFrom($this->toArray());