Changeset 5707 for sandbox/webservice/api/json-rpc/Expresso.php
- Timestamp:
- 03/12/12 18:48:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/json-rpc/Expresso.php
r5681 r5707 4 4 5 5 protected $expressoVersion; 6 protected $ldap ;6 protected $ldapCatalog; 7 7 var $result; 8 8 var $error; … … 29 29 } 30 30 31 protected function getLdap(){ 32 if($this->ldap == null) { 33 $this->ldap = $GLOBALS['phpgw']->common->ldapConnect(); 31 protected function getLdapCatalog(){ 32 if(!$this->ldapCatalog) { 33 $catalog_config = CreateObject("contactcenter.bo_ldap_manager"); 34 $_SESSION['phpgw_info']['expressomail']['ldap_server'] = $catalog_config ? $catalog_config->srcs[1] : null; 35 $this->ldapCatalog = CreateObject("expressoMail1_2.ldap_functions"); 34 36 } 35 37 36 return $this->ldap ;38 return $this->ldapCatalog; 37 39 } 38 40
Note: See TracChangeset
for help on using the changeset viewer.