From: Matthias Schmidt Date: Thu, 8 Mar 2012 15:18:09 +0000 (+0100) Subject: Adds missing action check X-Git-Tag: 2.0.0_Beta_1~1245^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e996eac6ac292c72ff7f0e8bef8239d2f22bebd;p=GitHub%2FWoltLab%2FWCF.git Adds missing action check --- diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index 464fef37a1..deba10762a 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -134,7 +134,9 @@ class PackageInstallationDispatcher { if ($node == '') { OptionEditor::resetCache(); - $this->saveLocalizedPackageInfos(); + if ($this->action == 'install') { + $this->saveLocalizedPackageInfos(); + } } return $step;