r98865 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98864‎ | r98865 | r98866 >
Date:16:51, 4 October 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r98756: $wgDefaultExternalStore can also be a string
Modified paths:
  • /trunk/phase3/includes/ExternalStoreDB.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ExternalStoreDB.php
@@ -34,7 +34,7 @@
3535 $wiki = isset($this->mParams['wiki']) ? $this->mParams['wiki'] : false;
3636 $lb =& $this->getLoadBalancer( $cluster );
3737
38 - if ( !in_array( "DB://" . $cluster, $wgDefaultExternalStore ) ) {
 38+ if ( !in_array( "DB://" . $cluster, (array)$wgDefaultExternalStore ) ) {
3939 wfDebug( "read only external store" );
4040 $lb->allowLagged(true);
4141 } else {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98756Merge r97687reedy13:19, 3 October 2011

Status & tagging log