Changeset 3221


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

Location:
branches/2.2/workflow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/doc/change_log.txt

    r3167 r3221  
    2222[2.2.000] 
    2323 
     24        #1176 - Otimização da query de busca ldap na classe WorkflowLDAP, e prevenção contra loop infinito (fabianok) 
     25        #1172 - Ajustar a preparação do ambiente do Workflow para chamadas de webservices (asaikawa) 
     26        #1171 - Modificações para permitir a passagem de parâmetros para os Jobs (asaikawa) 
    2427        #1164 - Substituição de require por require_once na classe run_activity (viani) 
    2528        #1162 - Otimização da query do método getChildren da classe wf_instance (fabianok/gbisotto) 
  • 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.