$IP marked as global again in line 1208, function includeExtensions
authorPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:03:01 +0000 (22:03 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:03:01 +0000 (22:03 +0000)
Unused global $wgHooks in function includeExtensions line 1208

includes/installer/Installer.php

index 097d98b..1f6cb8a 100644 (file)
@@ -1205,7 +1205,6 @@ abstract class Installer {
                 * but we're not opening that can of worms
                 * @see https://bugzilla.wikimedia.org/show_bug.cgi?id=26857
                 */
-               global $wgHooks, $IP;
                require( "$IP/includes/DefaultSettings.php" );
 
                foreach( $exts as $e ) {