Avoid destructing the language object, as it corrupts the language object cache,...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 12 Nov 2008 17:50:07 +0000 (17:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 12 Nov 2008 17:50:07 +0000 (17:50 +0000)
maintenance/parserTests.inc

index 71cb336..001aebf 100644 (file)
@@ -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;
                }