From: Brion Vibber Date: Wed, 26 Sep 2007 19:38:05 +0000 (+0000) Subject: bug 11453 -- remove spurious $i parameter on getGroupIndex() X-Git-Tag: 1.31.0-rc.0~51276 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=c40461b2556df9062571cf3056b851f0d38fe7e2;p=lhc%2Fweb%2Fwiklou.git bug 11453 -- remove spurious $i parameter on getGroupIndex() --- diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 65a6d5a62c..b10c2a5ebe 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -324,13 +324,13 @@ class LoadBalancer { # Query groups if ( !is_array( $groups ) ) { - $groupIndex = $this->getGroupIndex( $groups, $i ); + $groupIndex = $this->getGroupIndex( $groups ); if ( $groupIndex !== false ) { $i = $groupIndex; } } else { foreach ( $groups as $group ) { - $groupIndex = $this->getGroupIndex( $group, $i ); + $groupIndex = $this->getGroupIndex( $group ); if ( $groupIndex !== false ) { $i = $groupIndex; break;