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
Fix return in Preprocessor::cacheSetTree
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor.php
diff --git
a/includes/parser/Preprocessor.php
b/includes/parser/Preprocessor.php
index
24474d5
..
03726ca
100644
(file)
--- a/
includes/parser/Preprocessor.php
+++ b/
includes/parser/Preprocessor.php
@@
-69,7
+69,7
@@
abstract class Preprocessor {
$length = strlen( $text );
$threshold = $config->get( 'PreprocessorCacheThreshold' );
if ( $threshold === false || $length < $threshold || $length > 1e6 ) {
- return
false
;
+ return;
}
$cache = ObjectCache::getLocalClusterInstance();