dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45970a
)
Followup r100927 and r100905, when setting a FauxRequest use the NEW context
author
John Du Hart
<johnduhart@users.mediawiki.org>
Sat, 29 Oct 2011 16:14:11 +0000
(16:14 +0000)
committer
John Du Hart
<johnduhart@users.mediawiki.org>
Sat, 29 Oct 2011 16:14:11 +0000
(16:14 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
982ad2f
..
880d884
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-156,7
+156,7
@@
class ApiMain extends ApiBase {
$this->setContext( new DerivativeContext( $context ) );
if ( isset( $request ) ) {
- $
context
->setRequest( $request );
+ $
this->getContext()
->setRequest( $request );
}
$this->mInternalMode = ( $this->getRequest() instanceof FauxRequest );