Remove obsolete hacks; Language.php no longer has to be loaded for Names.php
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Apr 2006 07:52:05 +0000 (07:52 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 11 Apr 2006 07:52:05 +0000 (07:52 +0000)
config/index.php

index 736538b..258ce36 100644 (file)
@@ -1373,9 +1373,6 @@ function aField( &$conf, $field, $text, $type = "text", $value = "" ) {
 function getLanguageList() {
        global $wgLanguageNames;
        if( !isset( $wgLanguageNames ) ) {
-               $wgContLanguageCode = "xxx";
-               function wfLocalUrl( $x ) { return $x; }
-               function wfLocalUrlE( $x ) { return $x; }
                require_once( "languages/Names.php" );
        }