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
Language: Introduce new method equals( Language $lang )
[lhc/web/wiklou.git]
/
includes
/
parser
/
ParserOptions.php
diff --git
a/includes/parser/ParserOptions.php
b/includes/parser/ParserOptions.php
index
729b9db
..
91cd0f4
100644
(file)
--- a/
includes/parser/ParserOptions.php
+++ b/
includes/parser/ParserOptions.php
@@
-701,7
+701,7
@@
class ParserOptions {
}
// Check the object and lazy-loaded options
return (
- $this->mUserLang->
getCode() === $other->mUserLang->getCode(
) &&
+ $this->mUserLang->
equals( $other->mUserLang
) &&
$this->getDateFormat() === $other->getDateFormat()
);
}