From: Brion Vibber Date: Tue, 11 Apr 2006 07:52:05 +0000 (+0000) Subject: Remove obsolete hacks; Language.php no longer has to be loaded for Names.php X-Git-Tag: 1.31.0-rc.0~57535 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=7818dbee1eca9936bcb34ee502627b2a6ff362df;p=lhc%2Fweb%2Fwiklou.git Remove obsolete hacks; Language.php no longer has to be loaded for Names.php --- diff --git a/config/index.php b/config/index.php index 736538b486..258ce36552 100644 --- a/config/index.php +++ b/config/index.php @@ -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" ); }