From 1124e7e5e4e97144dd8a84201a786446ef934af1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 May 2022 11:26:25 +0200 Subject: [PATCH] Remove upgrade workaround from ApplicationHandler --- .../lib/system/application/ApplicationHandler.class.php | 5 ----- 1 file changed, 5 deletions(-) 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; } -- 2.20.1