Merge "Remove "related" searches"
[lhc/web/wiklou.git] / includes / parser / CoreParserFunctions.php
index 983fc14..eacbecd 100644 (file)
@@ -1001,8 +1001,8 @@ class CoreParserFunctions {
         */
        private static function getCachedRevisionObject( $parser, $title = null ) {
                static $cache = null;
-               if ( !isset( $cache ) ) {
-                       $cache = new MapCacheLRU( 100 );
+               if ( $cache == null ) {
+                       $cache = new MapCacheLRU( 50 );
                }
 
                if ( is_null( $title ) ) {