From 77f5aa21949d0490af9c67bb493e56aa24e7ac43 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 24 Apr 2013 22:49:14 +0200 Subject: [PATCH] Ignoring optional packages during update --- .../system/package/PackageInstallationNodeBuilder.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); -- 2.20.1