DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2012 03:11:16 +0000 (11:11 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 17 Dec 2012 03:11:16 +0000 (11:11 +0800)
DataObjects/Person.php

index a857b12..0a9840c 100644 (file)
@@ -809,10 +809,7 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     }
     function onInsert($req, $roo)  
     {
-        $p = DB_DataObject::factory('Person');
-        
-        print_R($roo->authUser->id);
-        exit;
+         
         
         if ($roo->authUser->id < 0 && $p->count() == 1) {
             // this seems a bit risky...