From: Mr. E23 Date: Wed, 28 Jan 2004 10:26:28 +0000 (+0000) Subject: Missing global caused $wgCompressedPersistentLC=true to be ignored X-Git-Tag: 1.3.0beta1~1088 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=1be2dcc7015f0ee41f5a275b526881c59aed73b8;p=lhc%2Fweb%2Fwiklou.git Missing global caused $wgCompressedPersistentLC=true to be ignored --- diff --git a/includes/LinkCache.php b/includes/LinkCache.php index 3052aca230..f7b83059de 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -144,7 +144,7 @@ class LinkCache { function preFill( &$fromtitle ) { - global $wgEnablePersistentLC, $wgCompressedPersistentLC; + global $wgEnablePersistentLC; $fname = "LinkCache::preFill"; wfProfileIn( $fname ); @@ -292,6 +292,7 @@ class LinkCache { } /* private */ function saveToLinkscc( $pid, $dbkeyfrom ){ + global $wgCompressedPersistentLC; if( $wgCompressedPersistentLC and function_exists( "gzcompress" ) ) { $ser = wfStrencode( gzcompress( serialize( $this ), 3 )); } else {