Index: trunk/phase3/includes/LoadBalancer.php |
— | — | @@ -324,13 +324,13 @@ |
325 | 325 | |
326 | 326 | # Query groups |
327 | 327 | if ( !is_array( $groups ) ) { |
328 | | - $groupIndex = $this->getGroupIndex( $groups, $i ); |
| 328 | + $groupIndex = $this->getGroupIndex( $groups ); |
329 | 329 | if ( $groupIndex !== false ) { |
330 | 330 | $i = $groupIndex; |
331 | 331 | } |
332 | 332 | } else { |
333 | 333 | foreach ( $groups as $group ) { |
334 | | - $groupIndex = $this->getGroupIndex( $group, $i ); |
| 334 | + $groupIndex = $this->getGroupIndex( $group ); |
335 | 335 | if ( $groupIndex !== false ) { |
336 | 336 | $i = $groupIndex; |
337 | 337 | break; |