From: Max Semenik Date: Tue, 13 Jul 2010 18:29:33 +0000 (+0000) Subject: Revert r69291, other references-related problems reported X-Git-Tag: 1.31.0-rc.0~36156 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=27210dc6141855fc5ffed1519f7bc00a02ad6610;p=lhc%2Fweb%2Fwiklou.git Revert r69291, other references-related problems reported --- diff --git a/includes/Setup.php b/includes/Setup.php index a80509b544..2eb9611984 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -269,9 +269,9 @@ if ( !$wgHtml5Version && $wgHtml5 && $wgAllowRdfaAttributes ) { wfProfileOut( $fname.'-misc1' ); wfProfileIn( $fname.'-memcached' ); -$wgMemc = wfGetMainCache(); -$messageMemc = wfGetMessageCacheStorage(); -$parserMemc = wfGetParserCacheStorage(); +$wgMemc =& wfGetMainCache(); +$messageMemc =& wfGetMessageCacheStorage(); +$parserMemc =& wfGetParserCacheStorage(); wfDebug( 'CACHES: ' . get_class( $wgMemc ) . '[main] ' . get_class( $messageMemc ) . '[message] ' .