From d12804ca40c8ac7e23828f753239a11b42c19464 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 10 Apr 2011 15:54:11 +0000 Subject: [PATCH] Remove double ; from r84971 Make explicit that the previous values of $wgAutoloadClasses are not preserved and make happy the 'unused global' detector. --- includes/installer/Installer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1