dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert r31022 -- breaks commons upload hack.
[lhc/web/wiklou.git]
/
includes
/
StubObject.php
diff --git
a/includes/StubObject.php
b/includes/StubObject.php
index
aa72c36
..
876cf50
100644
(file)
--- a/
includes/StubObject.php
+++ b/
includes/StubObject.php
@@
-105,7
+105,7
@@
class StubUserLang extends StubObject {
$code = $wgContLanguageCode;
}
- if( $code === $wgContLanguageCode
|| !Language::localisationExist( $code )
) {
+ if( $code === $wgContLanguageCode ) {
return $wgContLang;
} else {
$obj = Language::factory( $code );
@@
-135,4
+135,3
@@
class StubUser extends StubObject {
}
-