- Timestamp:
- 06/27/12 13:00:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoAdmin1_2/inc/class.sosectors.inc.php
r5133 r6660 133 133 } 134 134 135 function replace_attribute($dn, $info) 136 { 137 $connection = $GLOBALS['phpgw']->common->ldapConnect(); 138 139 if (ldap_mod_replace($connection, $dn, $info)) 140 { 141 ldap_close($connection); 142 return true; 143 } 144 else 145 { 146 echo 'Erro na escrita no LDAP, funcao replace_attribute: ' . ldap_error($connection); 147 ldap_close($connection); 148 return false; 149 } 150 } 151 135 152 function remove_attribute($dn, $info) 136 153 {
Note: See TracChangeset
for help on using the changeset viewer.