From: Niklas Laxström Date: Sun, 27 Apr 2008 14:55:15 +0000 (+0000) Subject: * Shortcut the known and most common case X-Git-Tag: 1.31.0-rc.0~48044 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=ace68fbca58c42887bf6c04a0bb76e96bfc4d42c;p=lhc%2Fweb%2Fwiklou.git * Shortcut the known and most common case --- diff --git a/languages/Language.php b/languages/Language.php index dbe7b49c62..9c087967ba 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2182,6 +2182,8 @@ class Language { * Get the fallback for a given language */ static function getFallbackFor( $code ) { + if ( $code === 'en' ) return false; + global $wgMemc; $memcKey = wfMemcKey( 'fallback', $code ); $fbcode = $wgMemc->get( $memcKey );