Fixed installation of an additional application
authorAlexander Ebert <ebert@woltlab.com>
Thu, 31 Jan 2013 23:24:31 +0000 (00:24 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 31 Jan 2013 23:24:31 +0000 (00:24 +0100)
Fixes #1121

wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 458df83eacf3838017186efe8abc6343f6c2327e..38ba52116342154ab1b3162dbad5a4b072ae01bc 100644 (file)
@@ -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.
         */
index eaa305db6d3af9d23b7e0a14bd9590b890dade86..daff3c45a9ba18bb82fc3c6139d4286d8c7e6254 100644 (file)
@@ -310,7 +310,6 @@ class PackageInstallationDispatcher {
                                        'cookiePath' => $path,
                                        'packageID' => $package->packageID
                                ));
-                               ApplicationHandler::getInstance()->reloadCache();
                        }
                }