Removed unnecessary parameter $queueID
authorAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 19:55:55 +0000 (20:55 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 19:55:55 +0000 (20:55 +0100)
wcfsetup/install/files/lib/acp/action/InstallPackageAction.class.php
wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php

index abb46361ce74dd4b4691c624f246f19b08eebd36..f716a56cbfc5bf14a8909c6c3f8a583bd9049b4d 100755 (executable)
@@ -87,7 +87,7 @@ class InstallPackageAction extends AbstractDialogAction {
                        if ($step->getNode() == '') {
                                // perform final actions
                                $this->installation->completeSetup();
-                               $this->finalize($queueID);
+                               $this->finalize();
                                
                                // redirect to application if not already within one
                                if (PACKAGE_ID == 1) {
@@ -205,10 +205,8 @@ class InstallPackageAction extends AbstractDialogAction {
        
        /**
         * Clears resources after successful installation.
-        * 
-        * @param       integer         $queueID
         */
-       protected function finalize($queueID) {
+       protected function finalize() {
                // clear cache
                $sql = "SELECT  packageDir
                        FROM    wcf".WCF_N."_package
index f8bf803bc32bfb3ae1751158536e02632bfccc7c..1e297571c72c6469f68a886bcaa4fa2a521a0fc1 100644 (file)
@@ -110,7 +110,7 @@ class UninstallPackageAction extends InstallPackageAction {
                if ($node == '') {
                        // remove node data
                        $this->installation->nodeBuilder->purgeNodes();
-                       $this->finalize($queueID);
+                       $this->finalize();
                        
                        // redirect to application if not already within one
                        if (PACKAGE_ID == 1) {