From dd76bb00c8a5d8a5e0caa185fd0e93504247bb7f Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 12 Jul 2010 11:14:00 +0000 Subject: [PATCH] Fixed weird unit test failures I experienced after r68544 --- includes/Setup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index 2eb9611984..a80509b544 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] ' . -- 2.20.1