From 224ccefada66037128f631c2a4913b02cac6cb87 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 12 Nov 2008 17:50:07 +0000 Subject: [PATCH] Avoid destructing the language object, as it corrupts the language object cache, and causes the next test to load a bogus language object and esplode. --- maintenance/parserTests.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 71cb336926..001aebf8ec 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -793,7 +793,6 @@ class ParserTest { private function teardownGlobals() { RepoGroup::destroySingleton(); LinkCache::singleton()->clear(); - $GLOBALS['wgLang']->__destruct(); foreach( $this->savedGlobals as $var => $val ) { $GLOBALS[$var] = $val; } -- 2.20.1