Index: trunk/phase3/includes/ExternalStoreDB.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | $wiki = isset($this->mParams['wiki']) ? $this->mParams['wiki'] : false; |
36 | 36 | $lb =& $this->getLoadBalancer( $cluster ); |
37 | 37 | |
38 | | - if ( !in_array( "DB://" . $cluster, $wgDefaultExternalStore ) ) { |
| 38 | + if ( !in_array( "DB://" . $cluster, (array)$wgDefaultExternalStore ) ) { |
39 | 39 | wfDebug( "read only external store" ); |
40 | 40 | $lb->allowLagged(true); |
41 | 41 | } else { |