Fix return in Preprocessor::cacheSetTree
[lhc/web/wiklou.git] / includes / parser / Preprocessor.php
index 24474d5..03726ca 100644 (file)
@@ -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();