From: <ral...@us...> - 2005-03-30 14:47:02
|
Update of /cvsroot/egroupware/admin/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26577 Modified Files: class.boaccounts.inc.php Log Message: removed hack necessary because of the wrong call of the contructor of the application class Index: class.boaccounts.inc.php =================================================================== RCS file: /cvsroot/egroupware/admin/inc/class.boaccounts.inc.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** class.boaccounts.inc.php 26 Aug 2004 11:57:58 -0000 1.53 --- class.boaccounts.inc.php 30 Mar 2005 14:46:37 -0000 1.54 *************** *** 815,828 **** } ! $apps = CreateObject('phpgwapi.applications',array((int)$_userData['account_id'],'u')); ! ! $apps->account_id = $_userData['account_id']; if ($_userData['account_permissions']) { ! while($app = each($_userData['account_permissions'])) { ! if($app[1]) { ! $apps->add($app[0]); } } --- 815,826 ---- } ! $apps = CreateObject('phpgwapi.applications',(int)$_userData['account_id']); if ($_userData['account_permissions']) { ! foreach($_userData['account_permissions'] as $app => $enabled) { ! if($enabled) { ! $apps->add($app); } } |