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:
b2ebc44
)
TemplateParser: Use operator short cut where necessary
author
Derick Alangi
<alangiderick@gmail.com>
Thu, 11 Apr 2019 20:48:07 +0000
(21:48 +0100)
committer
Derick Alangi
<alangiderick@gmail.com>
Thu, 11 Apr 2019 20:48:07 +0000
(21:48 +0100)
Change-Id: I7f9dbe54cec876863920155ccd7cd735a3101481
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;
}
}