DataObjects/Core_person.php
authoredward <edward@roojs.com>
Mon, 31 Oct 2016 03:30:56 +0000 (11:30 +0800)
committeredward <edward@roojs.com>
Mon, 31 Oct 2016 03:30:56 +0000 (11:30 +0800)
DataObjects/Core_person.php

index 23e96e1..ea58464 100644 (file)
@@ -1227,13 +1227,10 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         
         $sesPrefix = $ff->Pman->login_public . '-' .get_class($this) .'-'.$db->dsn['database'] ;
         
-        // we should not store the whole data in the session - otherwise it get's huge.
         $p = DB_DAtaObject::Factory($this->tableName());
         $p->get($this->pid());
         
-        //var_dump(array(get_class($this),$sesPrefix .'-auth'));
         $_SESSION[get_class($this)][$sesPrefix .'-auth'] = serialize((object)$p->toArray());
-        // ensure it's written so that ajax calls can fetch it..
         
     }