r91563 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91562
|
r91563
|
r91564
>
Date:
16:56, 6 July 2011
Author:
demon
Status:
ok
Tags:
Comment:
Followup
r91270
: didn't need to be so paranoid about $_SESSION, and actually was causing more issues than it solved.
Modified paths:
/trunk/phase3/tests/phpunit/includes/api/ApiTestCase.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/phpunit/includes/api/ApiTestCase.php
—
—
@@ -40,7 +40,6 @@
41
41
if ( is_null( $session ) ) {
42
42
$session = array();
43
43
}
44
- $_SESSION = $session; // paranoia
45
44
46
45
$request = new FauxRequest( $params, true, $session );
47
46
$module = new ApiMain( $request, true );
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r91270
Merge ApiTestSetup into ApiTestCase and update all subclasses. The amount of ...
demon
16:34, 1 July 2011
Status & tagging log
16:01, 8 August 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r91563
[
removed:
new
added:
ok]