From: Marcel Werk Date: Mon, 5 Dec 2016 11:41:37 +0000 (+0100) Subject: Removed update of the disabled state during updates X-Git-Tag: 3.0.0_RC_1~84 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc420d28eb5ef021bef385cf51ca13a553bc11ec;p=GitHub%2FWoltLab%2FWCF.git Removed update of the disabled state during updates --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php index 35e40cf0c2..1fa82c87de 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/UserOptionPackageInstallationPlugin.class.php @@ -119,7 +119,6 @@ class UserOptionPackageInstallationPlugin extends AbstractOptionPackageInstallat 'outputClass' => $outputClass, 'searchable' => $searchable, 'showOrder' => $showOrder, - 'isDisabled' => $isDisabled, 'permissions' => $permissions, 'options' => $options, 'additionalData' => serialize($additionalData), @@ -136,6 +135,10 @@ class UserOptionPackageInstallationPlugin extends AbstractOptionPackageInstallat else { // append option name $data['optionName'] = $optionName; + // append disabled state + $data['isDisabled'] = $isDisabled; + + // create option $data['packageID'] = $this->installation->getPackageID(); UserOptionEditor::create($data); }