Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | $this->setContext( new DerivativeContext( $context ) ); |
158 | 158 | |
159 | 159 | if ( isset( $request ) ) { |
160 | | - $context->setRequest( $request ); |
| 160 | + $this->getContext()->setRequest( $request ); |
161 | 161 | } |
162 | 162 | |
163 | 163 | $this->mInternalMode = ( $this->getRequest() instanceof FauxRequest ); |