From: Brion Vibber Date: Mon, 5 Mar 2007 20:03:45 +0000 (+0000) Subject: fix uggo notice selecting commons db X-Git-Tag: 1.31.0-rc.0~53903 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9b9485eb695ff5e821fa62b3697daaa9feebfd28;p=lhc%2Fweb%2Fwiklou.git fix uggo notice selecting commons db --- diff --git a/includes/Image.php b/includes/Image.php index d56a1ddbf9..ef6d9e460f 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -2330,7 +2330,7 @@ class Image static function getCommonsDB() { static $dbc; - global $wgLoadBalancer; + global $wgLoadBalancer, $wgSharedUploadDBname; if ( !isset( $dbc ) ) { $i = $wgLoadBalancer->getGroupIndex( 'commons' ); $dbinfo = $wgLoadBalancer->mServers[$i];