From: Brion Vibber Date: Wed, 12 Nov 2008 17:50:07 +0000 (+0000) Subject: Avoid destructing the language object, as it corrupts the language object cache,... X-Git-Tag: 1.31.0-rc.0~44362 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=224ccefada66037128f631c2a4913b02cac6cb87;p=lhc%2Fweb%2Fwiklou.git 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. --- 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; }