<?php
+
use MediaWiki\MediaWikiServices;
/**
*/
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;
}
}