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:
a21d682
)
Follow up r86447. Support the $wiki parameter
author
Platonides
<platonides@users.mediawiki.org>
Wed, 20 Apr 2011 15:32:10 +0000
(15:32 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Wed, 20 Apr 2011 15:32:10 +0000
(15:32 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
15cfb7a
..
8460c8a
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-3157,7
+3157,7
@@
function wfWarn( $msg, $callerOffset = 1, $level = E_USER_NOTICE ) {
* @return null
*/
function wfWaitForSlaves( $maxLag = false, $wiki = false ) {
- $lb = wfGetLB();
+ $lb = wfGetLB(
$wiki
);
// bug 27975 - Don't try to wait for slaves if there are none
// Prevents permission error when getting master position
if ( $lb->getServerCount() > 1 ) {