From: Platonides Date: Sun, 10 Apr 2011 15:54:11 +0000 (+0000) Subject: Remove double ; from r84971 X-Git-Tag: 1.31.0-rc.0~30949 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=d12804ca40c8ac7e23828f753239a11b42c19464;p=lhc%2Fweb%2Fwiklou.git Remove double ; from r84971 Make explicit that the previous values of $wgAutoloadClasses are not preserved and make happy the 'unused global' detector. --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index f757cd3189..87036c5e62 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -610,7 +610,7 @@ abstract class Installer { if ( $this->getDBInstaller( $name )->isCompiled() ) { $compiledDBs[] = $name; } - $allNames[] = wfMsg( 'config-type-' . $name );; + $allNames[] = wfMsg( 'config-type-' . $name ); } $this->setVar( '_CompiledDBs', $compiledDBs ); @@ -1194,6 +1194,8 @@ abstract class Installer { * @see https://bugzilla.wikimedia.org/show_bug.cgi?id=26857 */ global $wgAutoloadClasses; + $wgAutoloadClasses = array(); + require( "$IP/includes/DefaultSettings.php" ); foreach( $exts as $e ) {