From bb152db65a5ad280e34e93607779a8019be87d74 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 1 Feb 2013 00:24:31 +0100 Subject: [PATCH] Fixed installation of an additional application Fixes #1121 --- .../system/application/ApplicationHandler.class.php | 10 ---------- .../package/PackageInstallationDispatcher.class.php | 1 - 2 files changed, 11 deletions(-) diff --git a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php index 458df83eac..38ba521163 100644 --- a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php +++ b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php @@ -165,16 +165,6 @@ class ApplicationHandler extends SingletonFactory { return false; } - /** - * Reloads cache during setup. - * - * @todo Caches should be disabled within setup, this is just a work-around! - */ - public function reloadCache() { - ApplicationEditor::resetCache(); - $this->init(); - } - /** * Rebuilds cookie domain/path for all applications. */ diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index eaa305db6d..daff3c45a9 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -310,7 +310,6 @@ class PackageInstallationDispatcher { 'cookiePath' => $path, 'packageID' => $package->packageID )); - ApplicationHandler::getInstance()->reloadCache(); } } -- 2.20.1