Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -182,7 +182,6 @@ |
183 | 183 | // http header, but we don't set the mPreferredVariant |
184 | 184 | // variable in case this is called before the user's |
185 | 185 | // preference is loaded |
186 | | - $preferredVariant = $this->mMainLanguageCode; |
187 | 186 | if( array_key_exists( 'HTTP_ACCEPT_LANGUAGE', $_SERVER ) ) { |
188 | 187 | $acceptLanguage = str_replace( '_', '-', strtolower($_SERVER["HTTP_ACCEPT_LANGUAGE"])); |
189 | 188 | $languages = preg_split('/[,;]/', $acceptLanguage); |