From 206de5ed1d6896a62856185dd45ca1ad7fb87003 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 May 2022 16:37:03 +0200 Subject: [PATCH] Remove obsolete upgrade workaround for AJAX* controllers --- .../lib/system/request/ControllerMap.class.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php index 9a0097d066..95e5d3455d 100644 --- a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php +++ b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php @@ -84,19 +84,6 @@ class ControllerMap extends SingletonFactory $parts = \array_map('ucfirst', $parts); $controller = \implode('', $parts); - // work-around for legacy action controllers for upgrade and CORS avoidance - if ($controller === 'AjaxProxy') { - $controller = 'AJAXProxy'; - } elseif ($controller === 'AjaxUpload') { - $controller = 'AJAXUpload'; - } elseif ($controller === 'AjaxInvoke') { - $controller = 'AJAXInvoke'; - } elseif ($controller === 'AjaxFileUpload') { - $controller = 'AJAXFileUpload'; - } elseif ($controller === 'AjaxFileDelete') { - $controller = 'AJAXFileDelete'; - } - // Map virtual controllers to their true application if (isset($this->applicationOverrides['lookup'][$application][$controller])) { $application = $this->applicationOverrides['lookup'][$application][$controller]; -- 2.20.1