From bc62ca473a08cba67f678d2b19898ed75c890b1e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 15 Dec 2010 04:44:57 +0000 Subject: [PATCH] MINOR Removed redundant code from RequestHandler::handleRequest() referencing since removed Image_Uploader git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115057 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/RequestHandler.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/control/RequestHandler.php b/core/control/RequestHandler.php index 83164cc84..60094a36b 100755 --- a/core/control/RequestHandler.php +++ b/core/control/RequestHandler.php @@ -112,9 +112,6 @@ class RequestHandler extends ViewableData { if($urlHandlers) foreach($urlHandlers as $rule => $action) { if(isset($_REQUEST['debug_request'])) Debug::message("Testing '$rule' with '" . $request->remaining() . "' on $this->class"); if($params = $request->match($rule, true)) { - // FIXME: This unnecessary coupling was added to fix a bug in Image_Uploader. - if($this instanceof Controller) $this->urlParams = $request->allParams(); - // Backwards compatible setting of url parameters, please use SS_HTTPRequest->latestParam() instead //Director::setUrlParams($request->latestParams());