From: Alexandre Emsenhuber Date: Wed, 19 Mar 2008 12:43:00 +0000 (+0000) Subject: In continuation of r23243: is already created by Setup.php, it don't need to set... X-Git-Tag: 1.31.0-rc.0~48986 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=7176ccdf27fea2966183f77cdc1b949435360f28;p=lhc%2Fweb%2Fwiklou.git In continuation of r23243: is already created by Setup.php, it don't need to set twice. --- diff --git a/redirect.php b/redirect.php index ad3400ef9b..626c30d3bc 100644 --- a/redirect.php +++ b/redirect.php @@ -2,12 +2,8 @@ require_once( './includes/WebStart.php' ); global $wgArticlePath; -require_once( 'includes/WebRequest.php' ); -$wgRequest = new WebRequest(); - $page = $wgRequest->getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); header( "Location: {$url}" ); -