Remove old workaround for the upgrade from 2.1 to 3.0
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 6 Jul 2021 09:10:18 +0000 (11:10 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 6 Jul 2021 09:10:18 +0000 (11:10 +0200)
wcfsetup/install/files/lib/system/request/ControllerMap.class.php

index d2284c1e886f1716809edd07111853394e43bd88..ac0b7aa7710c5b393c7146aca07ab3c5566ae30f 100644 (file)
@@ -97,11 +97,6 @@ class ControllerMap extends SingletonFactory
                 $controller = 'AJAXFileDelete';
             }
 
-            // work-around for package installation during the upgrade 2.1 -> 3.0
-            if ($isAcpRequest && $controller === 'InstallPackage') {
-                $application = 'wcf';
-            }
-
             // Map virtual controllers to their true application
             if (isset($this->applicationOverrides['lookup'][$application][$controller])) {
                 $application = $this->applicationOverrides['lookup'][$application][$controller];