- Timestamp:
- 04/12/10 16:21:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/class.external_bridge.inc.php
r2372 r2492 65 65 $tmpOrg = ""; 66 66 67 $tmpUser = $GLOBALS['phpgw_info']['user']['account_lid'];68 $tmpOrg = explode(",ou=", $GLOBALS['phpgw_info']['user']['account_dn']);67 $tmpUser = Settings::get('expresso', 'user', 'account_lid'); 68 $tmpOrg = explode(",ou=", Settings::get('expresso', 'user', 'account_dn')); 69 69 $tmpOrg = explode(",", $tmpOrg[1]); 70 70 $tmpOrg = $tmpOrg[0]; … … 73 73 '%user%' => $tmpUser, 74 74 '%organization%' => $tmpOrg, 75 '%password%' => $GLOBALS['phpgw_info']['user']['passwd']);75 '%password%' => Settings::get('expresso', 'user', 'passwd')); 76 76 77 77 /* select the required form values for submission */ … … 130 130 /* check if the user has the permission to access the requested site */ 131 131 $site = (int) $site; 132 if (!$this->acl->checkUserGroupAccessToResource('APX', $GLOBALS['phpgw_info']['user']['account_id'], $site))132 if (!$this->acl->checkUserGroupAccessToResource('APX', Settings('expresso', 'user', 'account_id'), $site)) 133 133 $redirect = true; 134 134 }
Note: See TracChangeset
for help on using the changeset viewer.