r26168 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26167‎ | r26168 | r26169 >
Date:19:38, 26 September 2007
Author:brion
Status:old
Tags:
Comment:
bug 11453 -- remove spurious $i parameter on getGroupIndex()
Modified paths:
  • /trunk/phase3/includes/LoadBalancer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LoadBalancer.php
@@ -324,13 +324,13 @@
325325
326326 # Query groups
327327 if ( !is_array( $groups ) ) {
328 - $groupIndex = $this->getGroupIndex( $groups, $i );
 328+ $groupIndex = $this->getGroupIndex( $groups );
329329 if ( $groupIndex !== false ) {
330330 $i = $groupIndex;
331331 }
332332 } else {
333333 foreach ( $groups as $group ) {
334 - $groupIndex = $this->getGroupIndex( $group, $i );
 334+ $groupIndex = $this->getGroupIndex( $group );
335335 if ( $groupIndex !== false ) {
336336 $i = $groupIndex;
337337 break;

Follow-up revisions

RevisionCommit summaryAuthorDate
r26257Merged revisions 26134-26247 via svnmerge from...david19:06, 30 September 2007

Status & tagging log