From c58b2afc9f02817d567e641c3f975c10bd8d945a Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 9 Sep 2017 22:54:39 +0200 Subject: [PATCH] Fix return in Preprocessor::cacheSetTree Function would not return always a bool, caller does not expected a value, so remove it. Change-Id: I506355fbd1bd304a6f3a161ac4c9d0bc765fda4a --- includes/parser/Preprocessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php index 24474d5795..03726ca8e5 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(); -- 2.20.1