* Fix redundant assignment
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 3 Jun 2008 20:15:16 +0000 (20:15 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 3 Jun 2008 20:15:16 +0000 (20:15 +0000)
languages/Language.php

index 8288e80..873967e 100644 (file)
@@ -2124,7 +2124,7 @@ class Language {
                $filename = self::getMessagesFileName( $code );
                if ( !file_exists( $filename ) ) {
                        wfDebug( "Language::loadLocalisation(): no localisation file for $code, using implicit fallback to en\n" );
-                       $cache = $cache = compact( self::$mLocalisationKeys ); // Set correct fallback;
+                       $cache = compact( self::$mLocalisationKeys ); // Set correct fallback
                        $deps = array();
                } else {
                        $deps = array( $filename => filemtime( $filename ) );