dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2794096
)
Missing global caused $wgCompressedPersistentLC=true to be ignored
author
Mr. E23
<e23@users.mediawiki.org>
Wed, 28 Jan 2004 10:26:28 +0000
(10:26 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Wed, 28 Jan 2004 10:26:28 +0000
(10:26 +0000)
includes/LinkCache.php
patch
|
blob
|
history
diff --git
a/includes/LinkCache.php
b/includes/LinkCache.php
index
3052aca
..
f7b8305
100644
(file)
--- 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 {