Merge "Fix return in Preprocessor::cacheSetTree"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 16 Sep 2017 20:07:56 +0000 (20:07 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 16 Sep 2017 20:07:56 +0000 (20:07 +0000)
includes/parser/Preprocessor.php

index 627d112..49e961a 100644 (file)
@@ -70,7 +70,7 @@ abstract class Preprocessor {
                $length = strlen( $text );
                $threshold = $config->get( 'PreprocessorCacheThreshold' );
                if ( $threshold === false || $length < $threshold || $length > 1e6 ) {
-                       return false;
+                       return;
                }
 
                $cache = ObjectCache::getLocalClusterInstance();