Ignore:
Timestamp:
09/09/10 11:32:28 (14 years ago)
Author:
viani
Message:

Ticket #1176 - Inclusao de comentarios na classe WorkflowLDAP e identacao do codigo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/inc/class.WorkflowLDAP.inc.php

    r3186 r3221  
    543543                        if(!is_array($entitiesID)) 
    544544                                $entitiesID = array(); 
     545 
     546                        // Search for all entries that uidnumber or gidnumber matches the arguments 
     547                        // and that account type is user, list or group 
    545548                        $resourceIdentifier = ldap_search( 
    546549                                $this->dataSource, 
    547                                 $this->ldapContext,  
     550                                $this->ldapContext, 
    548551                                sprintf( 
    549552                                        '(&(|%s)(|(phpgwaccounttype=u)(phpgwaccounttype=l)(phpgwaccounttype=g)))', 
    550553                                        implode( 
    551                                                 '',  
     554                                                '', 
    552555                                                array_map( 
    553556                                                        create_function('$a', 'return "(uidnumber={$a})(gidnumber={$a})";'), 
     
    562565                        unset($result['count']); 
    563566                } 
    564                  
    565567 
    566568                $output = array(); 
Note: See TracChangeset for help on using the changeset viewer.