$this->jok("refreshed");
}
- $u = DB_DataObject::factory('Person');
+ $u = DB_DataObject::factory('core_person');
//$u->active = 1;
$u->whereAdd('LENGTH(passwd) > 1');
//$u->company_id = $this->company->id;
//}
// log it..
-
- $p = DB_DataObject::factory('Projects');
+ $this->authUser= $u;
+ $p = DB_DataObject::factory('core_project');
$p->get($this->currentProject());
$ret = $u->toArray();
- //$ret['project_id'] = $p->id;
- //$ret['project_name'] = $p->name;
+ $ret['project'] = $p->toArray();
$this->jok($ret);