- Timestamp:
- 04/12/10 16:21:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/class.WorkflowLDAP.inc.php
r2372 r2492 53 53 54 54 /* get the required parameters */ 55 $info = (isset($GLOBALS['phpgw_info']['server']['ldap_context'])) ? 56 $GLOBALS['phpgw_info']['server'] : 57 $_SESSION['phpgw_info']['workflow']['server']; 58 $ldapConfigValues = galaxia_get_config_values(array('ldap_user_context' => '', 'ldap_group_context' => '')); 59 if (empty($ldapConfigValues['ldap_user_context'])) 60 $ldapConfigValues['ldap_user_context'] = $info['ldap_context']; 61 if (empty($ldapConfigValues['ldap_group_context'])) 62 $ldapConfigValues['ldap_group_context'] = $info['ldap_group_context']; 63 $this->userContext = $ldapConfigValues['ldap_user_context']; 64 $this->groupContext = $ldapConfigValues['ldap_group_context']; 65 $this->ldapContext = $ldapConfigValues['ldap_user_context']; 55 $ldapUserContext = Settings::get('workflow', 'ldap', 'user_context'); 56 $ldapGroupContext = Settings::get('workflow', 'ldap', 'group_context'); 57 58 if (empty($ldapUserContext)) 59 $ldapUserContext = Settings::get('expresso', 'ldap', 'user_context'); 60 61 if (empty($ldapGroupContext)) 62 $ldapGroupContext = Settings::get('expresso', 'ldap', 'group_context'); 63 64 $this->userContext = $ldapUserContext; 65 $this->groupContext = $ldapGroupContext; 66 $this->ldapContext = $ldapUserContext; 66 67 67 68 $this->cache = array(
Note: See TracChangeset
for help on using the changeset viewer.