Changeset 396 for trunk/expressoAdmin1_2/inc/class.bosectors.inc.php
- Timestamp:
- 08/14/08 11:45:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.bosectors.inc.php
r89 r396 170 170 } 171 171 172 $connection = $GLOBALS['phpgw']->common->ldapConnect(); 172 if ( (!empty($GLOBALS['phpgw_info']['server']['ldap_master_host'])) && 173 (!empty($GLOBALS['phpgw_info']['server']['ldap_master_root_dn'])) && 174 (!empty($GLOBALS['phpgw_info']['server']['ldap_master_root_pw'])) ) 175 { 176 $connection = $GLOBALS['phpgw']->common->ldapConnect($GLOBALS['phpgw_info']['server']['ldap_master_host'], 177 $GLOBALS['phpgw_info']['server']['ldap_master_root_dn'], 178 $GLOBALS['phpgw_info']['server']['ldap_master_root_pw']); 179 } 180 else 181 { 182 $connection = $GLOBALS['phpgw']->common->ldapConnect(); 183 } 184 173 185 $this->so->delete_sector_ldap_recursively($connection, $sector_dn); 174 186 ldap_close($connection);
Note: See TracChangeset
for help on using the changeset viewer.