From: Mark A. Hershberger Date: Wed, 8 Dec 2010 19:17:56 +0000 (+0000) Subject: Revert r78005, verified that r78009 seems to have fixed the problem. X-Git-Tag: 1.31.0-rc.0~33437 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=1fdedd3fc507a32586331c8ef77f4fe960bda516;p=lhc%2Fweb%2Fwiklou.git Revert r78005, verified that r78009 seems to have fixed the problem. --- diff --git a/maintenance/tests/parser/parserTest.inc b/maintenance/tests/parser/parserTest.inc index 07c0c66c60..1474760540 100644 --- a/maintenance/tests/parser/parserTest.inc +++ b/maintenance/tests/parser/parserTest.inc @@ -149,9 +149,9 @@ class ParserTest { $wgEnableParserCache = false; $wgDeferredUpdateList = array(); - $wgMemc = wfGetMainCache(); - $messageMemc = wfGetMessageCacheStorage(); - $parserMemc = wfGetParserCacheStorage(); + $wgMemc = &wfGetMainCache(); + $messageMemc = &wfGetMessageCacheStorage(); + $parserMemc = &wfGetParserCacheStorage(); // $wgContLang = new StubContLang; $wgUser = new User; @@ -343,7 +343,7 @@ class ParserTest { try { $this->setupDatabase(); $ok = true; - + foreach ( $filenames as $filename ) { $tests = new TestFileIterator( $filename, $this ); $ok = $this->runTests( $tests ) && $ok;