Kill $wgWikiFarm. Only use in a wmf code path, and I can't find any evidence of this...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 3 Jun 2011 03:38:52 +0000 (03:38 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 3 Jun 2011 03:38:52 +0000 (03:38 +0000)
maintenance/Maintenance.php
maintenance/doMaintenance.php

index fd88656..7aff84d 100644 (file)
@@ -929,9 +929,8 @@ abstract class Maintenance {
         * @return String
         */
        public function loadSettings() {
-               global $wgWikiFarm, $wgCommandLineMode, $IP;
+               global $wgCommandLineMode, $IP;
 
-               $wgWikiFarm = false;
                if ( isset( $this->mOptions['conf'] ) ) {
                        $settingsFile = $this->mOptions['conf'];
                } else if ( defined("MW_CONFIG_FILE") ) {
index 12fbb49..bf95da1 100644 (file)
@@ -80,7 +80,6 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) {
        # @todo FIXME: Wikimedia-specific stuff needs to go away to an ext
        # Maybe a hook?
        global $cluster;
-       $wgWikiFarm = true;
        $cluster = 'pmtpa';
        require_once( MWInit::compiledPath( 'includes/SiteConfiguration.php' ) );
        require( MWInit::interpretedPath( 'wmf-config/wgConf.php' ) );