From: Tim Düsterhus Date: Fri, 27 May 2022 09:26:25 +0000 (+0200) Subject: Remove upgrade workaround from ApplicationHandler X-Git-Tag: 6.0.0_Alpha_1~1257^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1124e7e5e4e97144dd8a84201a786446ef934af1;p=GitHub%2FWoltLab%2FWCF.git Remove upgrade workaround from ApplicationHandler --- diff --git a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php index 77c3f00d9b..09df70436e 100644 --- a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php +++ b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php @@ -77,11 +77,6 @@ class ApplicationHandler extends SingletonFactory */ public function getApplicationByID($packageID) { - // work-around for update from 2.1 (out-dated cache) - if ($packageID == 1 && !isset($this->cache['application'][1])) { - $this->cache['application'][1] = new Application(1); - } - return $this->cache['application'][$packageID] ?? null; }