Index: trunk/extensions/SimpleSurvey/SpecialSimpleSurvey.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | } |
60 | 60 | // forward to new page |
61 | 61 | if ( $wgSimpleSurveyRedirectURL ) { |
62 | | - $wgRequest->response()->header( "Location: $wgSimpleSurveyRedirectURL" ); |
| 62 | + $wgOut->redirect( $wgSimpleSurveyRedirectURL ); |
63 | 63 | } |
64 | 64 | |
65 | 65 | return; |