X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_person_signup.php;h=819bac3d5c8e0218dc8bc8da2efcf01cbec7d51a;hb=75f0b2df15a123ec62c038c2c2a340b82db14a31;hp=88e1a453eb42ea6fd9fc57cbc558db5c9e320af0;hpb=425e9deeaa214d51eb0cec8384ea61379d1646ef;p=Pman.Core diff --git a/DataObjects/Core_person_signup.php b/DataObjects/Core_person_signup.php index 88e1a453..819bac3d 100644 --- a/DataObjects/Core_person_signup.php +++ b/DataObjects/Core_person_signup.php @@ -107,7 +107,10 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject $hydra_person->employer_name = $this->company_name; $hydra_person->insert(); - $hydra_person->onInsert(); + + $this->delete(); + + return $hydra_person; } function sendVerification($template, $roo)