dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
22d38b4
)
Merge "TemplateParser: Use operator short cut where necessary"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 11 Apr 2019 21:30:48 +0000
(21:30 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 11 Apr 2019 21:30:48 +0000
(21:30 +0000)
includes/TemplateParser.php
patch
|
blob
|
history
diff --git
a/includes/TemplateParser.php
b/includes/TemplateParser.php
index
11a8e85
..
fd856be
100644
(file)
--- a/
includes/TemplateParser.php
+++ b/
includes/TemplateParser.php
@@
-62,9
+62,9
@@
class TemplateParser {
*/
public function enableRecursivePartials( $enable ) {
if ( $enable ) {
- $this->compileFlags
= $this->compileFlags |
LightnCandy::FLAG_RUNTIMEPARTIAL;
+ $this->compileFlags
|=
LightnCandy::FLAG_RUNTIMEPARTIAL;
} else {
- $this->compileFlags
= $this->compileFlags &
~LightnCandy::FLAG_RUNTIMEPARTIAL;
+ $this->compileFlags
&=
~LightnCandy::FLAG_RUNTIMEPARTIAL;
}
}