Removed broken redundant fallback to the Language message array. Message arrays are...
[lhc/web/wiklou.git] / includes / MessageCache.php
index 9cab222..058ada5 100644 (file)
@@ -458,16 +458,6 @@ class MessageCache {
                        }
                }
 
-               # Try the English array
-               if( $message === false && $langcode != 'en' ) {
-                       wfSuppressWarnings();
-                       $message = Language::getMessage( $key );
-                       wfRestoreWarnings();
-                       if ( is_null( $message ) ) {
-                               $message = false;
-                       }
-               }
-
                # Try the array of another language
                if( $message === false && strpos( $key, '/' ) ) {
                        $message = explode( '/', $key );