r35817 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35816‎ | r35817 | r35818 >
Date:20:15, 3 June 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Fix redundant assignment
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -2124,7 +2124,7 @@
21252125 $filename = self::getMessagesFileName( $code );
21262126 if ( !file_exists( $filename ) ) {
21272127 wfDebug( "Language::loadLocalisation(): no localisation file for $code, using implicit fallback to en\n" );
2128 - $cache = $cache = compact( self::$mLocalisationKeys ); // Set correct fallback;
 2128+ $cache = compact( self::$mLocalisationKeys ); // Set correct fallback
21292129 $deps = array();
21302130 } else {
21312131 $deps = array( $filename => filemtime( $filename ) );

Status & tagging log