From: Alexander Ebert Date: Thu, 9 Feb 2012 19:55:55 +0000 (+0100) Subject: Removed unnecessary parameter $queueID X-Git-Tag: 2.0.0_Beta_1~1358^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfe032871d9eeb7e869c8da7dcb22408fadc0ede;p=GitHub%2FWoltLab%2FWCF.git Removed unnecessary parameter $queueID --- diff --git a/wcfsetup/install/files/lib/acp/action/InstallPackageAction.class.php b/wcfsetup/install/files/lib/acp/action/InstallPackageAction.class.php index abb46361ce..f716a56cbf 100755 --- a/wcfsetup/install/files/lib/acp/action/InstallPackageAction.class.php +++ b/wcfsetup/install/files/lib/acp/action/InstallPackageAction.class.php @@ -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 diff --git a/wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php b/wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php index f8bf803bc3..1e297571c7 100644 --- a/wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php +++ b/wcfsetup/install/files/lib/acp/action/UninstallPackageAction.class.php @@ -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) {