dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f561740
)
bug 11453 -- remove spurious $i parameter on getGroupIndex()
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 26 Sep 2007 19:38:05 +0000
(19:38 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 26 Sep 2007 19:38:05 +0000
(19:38 +0000)
includes/LoadBalancer.php
patch
|
blob
|
history
diff --git
a/includes/LoadBalancer.php
b/includes/LoadBalancer.php
index
65a6d5a
..
b10c2a5
100644
(file)
--- 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;