Remove obsolete update_com.woltlab.wcf_5.3_fixActivationMethod.php
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 18 Nov 2020 11:42:59 +0000 (12:42 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 18 Nov 2020 11:42:59 +0000 (12:42 +0100)
wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3_fixActivationMethod.php [deleted file]

diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3_fixActivationMethod.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.3_fixActivationMethod.php
deleted file mode 100644 (file)
index 70e6b12..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-use wcf\data\option\OptionEditor;
-
-// Legacy versions handled disabled option values incorrectly, causing them to be unset
-// instead of maintaining the previously selected value. As a result, installations that
-// disabled the registration in WoltLab Suite 3.1 without enabling it again may have an
-// empty string value set for the activation method.
-//
-// See https://github.com/WoltLab/WCF/issues/3723
-if (!is_numeric(REGISTER_ACTIVATION_METHOD)) {
-       OptionEditor::import([
-               'register_activation_method' => 0,
-       ]);
-}