Changeset 1310 for trunk/workflow/inc/class.so_userinterface.inc.php
- Timestamp:
- 08/12/09 11:28:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.so_userinterface.inc.php
r1276 r1310 246 246 $employees = $result->GetArray(-1); 247 247 $cachedLDAP = $GLOBALS['workflow']['factory']->newInstance('CachedLDAP'); 248 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_ LDAP_DATABASE);248 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_NORMAL); 249 249 $categoriesCount = array(); 250 250 for ($i = 0; $i < count($employees); $i++) … … 319 319 $employees = $result->GetArray(-1); 320 320 $cachedLDAP = $GLOBALS['workflow']['factory']->newInstance('CachedLDAP'); 321 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_ LDAP_DATABASE);321 $cachedLDAP->setOperationMode($cachedLDAP->OPERATION_MODE_NORMAL); 322 322 for ($i = 0; $i < count($employees); $i++) 323 323 { … … 520 520 $employees = $result -> GetArray( -1 ); 521 521 $cachedLDAP = $GLOBALS[ 'workflow' ][ 'factory' ] -> newInstance( 'CachedLDAP' ); 522 $cachedLDAP -> setOperationMode( $cachedLDAP -> OPERATION_MODE_ LDAP_DATABASE);522 $cachedLDAP -> setOperationMode( $cachedLDAP -> OPERATION_MODE_NORMAL ); 523 523 524 524 $categoriesCount = array( ); … … 592 592 593 593 $cachedLDAP = $GLOBALS[ 'workflow' ][ 'factory' ] -> newInstance( 'CachedLDAP' ); 594 $cachedLDAP -> setOperationMode( $cachedLDAP -> OPERATION_MODE_ LDAP_DATABASE);594 $cachedLDAP -> setOperationMode( $cachedLDAP -> OPERATION_MODE_NORMAL ); 595 595 596 596 $categoriesCount = array( ); … … 617 617 usort( $employees, create_function( '$a,$b', 'return strcasecmp($a[\'cn\'],$b[\'cn\']);' ) ); 618 618 619 $paging = $GLOBALS['workflow']['factory']->newInstance('Paging', 100, $_POST);619 $paging = $GLOBALS['workflow']['factory']->newInstance('Paging', 50, $_POST); 620 620 $employees = $paging->restrictItems( $employees ); 621 621
Note: See TracChangeset
for help on using the changeset viewer.