Revision: 19051
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19051
Author: Caeies
Date: 2009-02-04 18:03:06 +0000 (Wed, 04 Feb 2009)
Log Message:
-----------
Stick to the API definitions
Modified Paths:
--------------
core/trunk/phpgwapi/inc/class.sessions.inc.php
Modified: core/trunk/phpgwapi/inc/class.sessions.inc.php
===================================================================
--- core/trunk/phpgwapi/inc/class.sessions.inc.php 2009-02-04 18:02:08 UTC
(rev 19050)
+++ core/trunk/phpgwapi/inc/class.sessions.inc.php 2009-02-04 18:03:06 UTC
(rev 19051)
@@ -1459,6 +1459,8 @@
protected function _setup_cache($write_cache = true)
{
$this->_data =
$GLOBALS['phpgw']->accounts->read()->toArray();
+ //XXX Caeies Feb09 : add the fullname since its
published in the API docs
+ $this->_data['fullname'] =
(string)$GLOBALS['phpgw']->accounts->read();
$this->_data['acl'] =
$GLOBALS['phpgw']->acl->read();
$this->_data['preferences'] =
$GLOBALS['phpgw']->preferences->read();
$this->_data['apps'] =
$GLOBALS['phpgw']->applications->read();
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs