mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
a5f5617ab2
commit
bc62ca473a
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user