From: Chad Horohoe Date: Wed, 6 Jul 2011 16:56:26 +0000 (+0000) Subject: Followup r91270: didn't need to be so paranoid about $_SESSION, and actually was... X-Git-Tag: 1.31.0-rc.0~29041 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=8c5bae9746017b8466fef81426a76ca364fb11f5;p=lhc%2Fweb%2Fwiklou.git Followup r91270: didn't need to be so paranoid about $_SESSION, and actually was causing more issues than it solved. --- diff --git a/tests/phpunit/includes/api/ApiTestCase.php b/tests/phpunit/includes/api/ApiTestCase.php index fab4187241..2917c880e0 100644 --- a/tests/phpunit/includes/api/ApiTestCase.php +++ b/tests/phpunit/includes/api/ApiTestCase.php @@ -40,7 +40,6 @@ abstract class ApiTestCase extends MediaWikiLangTestCase { if ( is_null( $session ) ) { $session = array(); } - $_SESSION = $session; // paranoia $request = new FauxRequest( $params, true, $session ); $module = new ApiMain( $request, true );