r71746 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71745‎ | r71746 | r71747 >
Date:20:41, 26 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r69966, use $wgOut->redirect()
Modified paths:
  • /trunk/extensions/SimpleSurvey/SpecialSimpleSurvey.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SimpleSurvey/SpecialSimpleSurvey.php
@@ -58,7 +58,7 @@
5959 }
6060 // forward to new page
6161 if ( $wgSimpleSurveyRedirectURL ) {
62 - $wgRequest->response()->header( "Location: $wgSimpleSurveyRedirectURL" );
 62+ $wgOut->redirect( $wgSimpleSurveyRedirectURL );
6363 }
6464
6565 return;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69966Updates, including redirectnimishg20:22, 26 July 2010

Status & tagging log