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:
bb61c94
)
Fix return in Preprocessor::cacheSetTree
author
Umherirrender
<umherirrender_de.wp@web.de>
Sat, 9 Sep 2017 20:54:39 +0000
(22:54 +0200)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sat, 9 Sep 2017 20:54:39 +0000
(22:54 +0200)
Function would not return always a bool,
caller does not expected a value, so remove it.
Change-Id: I506355fbd1bd304a6f3a161ac4c9d0bc765fda4a
includes/parser/Preprocessor.php
patch
|
blob
|
history
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();