mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	Replaced 'operator_get_all' and 'get_operators_from_adjacent_groups' functions by 'get_operators_list' function
This commit is contained in:
		
							parent
							
								
									00fd2b796c
								
							
						
					
					
						commit
						1681690d27
					
				| @ -370,7 +370,8 @@ function setup_redirect_links($threadid, $operator, $token) | ||||
| 
 | ||||
| 	$operator_in_isolation = in_isolation($operator); | ||||
| 
 | ||||
| 	$operators = $operator_in_isolation?get_operators_from_adjacent_groups($operator):operator_get_all(); | ||||
| 	$list_options = $operator_in_isolation?array('isolated_operator_id' => $operator['operatorid']):array(); | ||||
| 	$operators = get_operators_list($list_options); | ||||
| 	$operatorscount = count($operators); | ||||
| 
 | ||||
| 	$link = connect(); | ||||
|  | ||||
| @ -155,7 +155,9 @@ function print_operators($operator) | ||||
| { | ||||
| 	global $webim_encoding, $settings; | ||||
| 	echo "<operators>"; | ||||
| 	$operators = in_isolation($operator)?get_operators_from_adjacent_groups($operator):operator_get_all(); | ||||
| 
 | ||||
| 	$list_options = in_isolation($operator)?array('isolated_operator_id' => $operator['operatorid']):array(); | ||||
| 	$operators = get_operators_list($list_options); | ||||
| 
 | ||||
| 	foreach ($operators as $operator) { | ||||
| 		if (!operator_is_online($operator)) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user