dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375ad98
)
[ResourceLoader] Use getLanguage() accessor as the field is lazy-loaded.
author
Aaron
<aschulz@wikimedia.org>
Fri, 25 May 2012 21:52:39 +0000
(14:52 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Fri, 25 May 2012 21:52:39 +0000
(14:52 -0700)
Change-Id: I6a106d1557366f6ff4586c9604fd324be51d7e1f
includes/resourceloader/ResourceLoaderContext.php
patch
|
blob
|
history
diff --git
a/includes/resourceloader/ResourceLoaderContext.php
b/includes/resourceloader/ResourceLoaderContext.php
index
87a3c2d
..
0e96c6c
100644
(file)
--- a/
includes/resourceloader/ResourceLoaderContext.php
+++ b/
includes/resourceloader/ResourceLoaderContext.php
@@
-161,7
+161,7
@@
class ResourceLoaderContext {
$this->direction = $this->request->getVal( 'dir' );
if ( !$this->direction ) {
# directionality based on user language (see bug 6100)
- $this->direction = Language::factory( $this->
language
)->getDir();
+ $this->direction = Language::factory( $this->
getLanguage()
)->getDir();
}
}
return $this->direction;