r86484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86483‎ | r86484 | r86485 >
Date:15:32, 20 April 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up r86447. Support the $wiki parameter
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -3157,7 +3157,7 @@
31583158 * @return null
31593159 */
31603160 function wfWaitForSlaves( $maxLag = false, $wiki = false ) {
3161 - $lb = wfGetLB();
 3161+ $lb = wfGetLB( $wiki );
31623162 // bug 27975 - Don't try to wait for slaves if there are none
31633163 // Prevents permission error when getting master position
31643164 if ( $lb->getServerCount() > 1 ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86447Merge r86398 into the old wfWaitForSlaves. Update core calls....platonides00:12, 20 April 2011

Status & tagging log