From: Alexander Ebert Date: Wed, 24 Apr 2013 20:49:14 +0000 (+0200) Subject: Ignoring optional packages during update X-Git-Tag: 2.0.0_Beta_1~302 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77f5aa21949d0490af9c67bb493e56aa24e7ac43;p=GitHub%2FWoltLab%2FWCF.git Ignoring optional packages during update --- diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php index f1e1b3b89c..03c70f9ddf 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php @@ -81,8 +81,10 @@ class PackageInstallationNodeBuilder { // package installation plugins $this->buildPluginNodes(); - // optional packages - $this->buildOptionalNodes(); + // optional packages (ignored on update) + if ($this->installation->queue->action == 'install') { + $this->buildOptionalNodes(); + } // child queues $this->buildChildQueues();