Adds missing action check
authorMatthias Schmidt <gravatronics@live.com>
Thu, 8 Mar 2012 15:18:09 +0000 (16:18 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 8 Mar 2012 15:18:09 +0000 (16:18 +0100)
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 464fef37a1e52036fb336e9e58a83486702d55a8..deba10762ae0e1512c104c4f194a960bb33d8800 100644 (file)
@@ -134,7 +134,9 @@ class PackageInstallationDispatcher {
                if ($node == '') {
                        OptionEditor::resetCache();
                        
-                       $this->saveLocalizedPackageInfos();
+                       if ($this->action == 'install') {
+                               $this->saveLocalizedPackageInfos();
+                       }
                }
                
                return $step;