Ignore:
Timestamp:
06/27/12 13:00:55 (12 years ago)
Author:
eduardow
Message:

Ticket #2863 - Backport da funcionalidade de Controle de Cotas de usuário e disco(Cotas OU).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoAdmin1_2/inc/class.sosectors.inc.php

    r5133 r6660  
    133133                } 
    134134 
     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    
    135152                function remove_attribute($dn, $info) 
    136153                { 
Note: See TracChangeset for help on using the changeset viewer.