From: Happy-melon Date: Mon, 23 May 2011 18:57:30 +0000 (+0000) Subject: Follow-up r85403: rm unwanted "new" declaration. X-Git-Tag: 1.31.0-rc.0~29987 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=8ff0177e983991677bc43548c34a0556db45d6ec;p=lhc%2Fweb%2Fwiklou.git Follow-up r85403: rm unwanted "new" declaration. --- diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index b67909ec14..01e3f525a7 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -302,7 +302,7 @@ class NewParserTest extends MediaWikiTestCase { $GLOBALS['wgLang'] = $context->lang; $GLOBALS['wgMemc'] = new EmptyBagOStuff; - $GLOBALS['wgOut'] = new $context->output; + $GLOBALS['wgOut'] = $context->output; global $wgHooks;