diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2017-09-09 22:54:39 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2017-09-09 22:54:39 +0200 |
commit | c58b2afc9f02817d567e641c3f975c10bd8d945a (patch) | |
tree | ef9da6e80852cf13df785676e42da5c93be9eaf3 /includes/parser/Preprocessor.php | |
parent | bb61c94bc19026b68df57e02eb48f45a417b14c2 (diff) | |
download | mediawikicore-c58b2afc9f02817d567e641c3f975c10bd8d945a.tar.gz mediawikicore-c58b2afc9f02817d567e641c3f975c10bd8d945a.zip |
Fix return in Preprocessor::cacheSetTree
Function would not return always a bool,
caller does not expected a value, so remove it.
Change-Id: I506355fbd1bd304a6f3a161ac4c9d0bc765fda4a
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r-- | includes/parser/Preprocessor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php index 24474d5795d4..03726ca8e54f 100644 --- 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(); |