http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70225
Revision: 70225 Author: platonides Date: 2010-07-31 18:29:20 +0000 (Sat, 31 Jul 2010) Log Message: ----------- Remove useless $DP. Roan confirmed that there was no hidden usage on wmf-config/ The '$DP = $IP;' in CommonSettings.php:94 should be removed, too. Modified Paths: -------------- trunk/phase3/maintenance/Maintenance.php Modified: trunk/phase3/maintenance/Maintenance.php =================================================================== --- trunk/phase3/maintenance/Maintenance.php 2010-07-31 18:10:22 UTC (rev 70224) +++ trunk/phase3/maintenance/Maintenance.php 2010-07-31 18:29:20 UTC (rev 70225) @@ -740,7 +740,6 @@ putenv( 'wikilang=' . $lang ); - $DP = $IP; ini_set( 'include_path', ".:$IP:$IP/includes:$IP/languages:$IP/maintenance" ); if ( $lang == 'test' && $site == 'wikipedia' ) { @@ -753,7 +752,7 @@ * @return String */ public function loadSettings() { - global $wgWikiFarm, $wgCommandLineMode, $IP, $DP; + global $wgWikiFarm, $wgCommandLineMode, $IP; $wgWikiFarm = false; if ( isset( $this->mOptions['conf'] ) ) { @@ -775,7 +774,6 @@ "must exist and be readable in the source directory.", true ); } $wgCommandLineMode = true; - $DP = $IP; return $settingsFile; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs