Remove PROFILE_MAIL_USE_CAPTCHA
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 13 Jul 2021 09:39:50 +0000 (11:39 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 13 Jul 2021 09:39:50 +0000 (11:39 +0200)
see 67e204a044077c2ad96685386aabaf6803a61d21
see #3032
see #3151

com.woltlab.wcf/option.xml
constants.php
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 56815390ce8b4287542ed36b7c7e8b963d1487ed..e947515daa9396997f22d1f78225663b69e4925f 100644 (file)
@@ -711,7 +711,7 @@ block:wcf.acp.option.blacklist_sfs_action.block]]></selectoptions>
                                <categoryname>security.antispam.captcha</categoryname>
                                <optiontype>captchaSelect</optiontype>
                                <defaultvalue>com.woltlab.wcf.recaptcha</defaultvalue>
-                               <enableoptions>:!register_use_captcha,!lost_password_use_captcha,!profile_mail_use_captcha,!search_use_captcha</enableoptions>
+                               <enableoptions>:!register_use_captcha,!lost_password_use_captcha,!search_use_captcha</enableoptions>
                                <allowemptyvalue>1</allowemptyvalue>
                        </option>
                        <option name="register_use_captcha">
@@ -724,11 +724,6 @@ block:wcf.acp.option.blacklist_sfs_action.block]]></selectoptions>
                                <optiontype>boolean</optiontype>
                                <defaultvalue>1</defaultvalue>
                        </option>
-                       <option name="profile_mail_use_captcha">
-                               <categoryname>security.antispam.captcha</categoryname>
-                               <optiontype>boolean</optiontype>
-                               <defaultvalue>1</defaultvalue>
-                       </option>
                        <option name="search_use_captcha">
                                <categoryname>security.antispam.captcha</categoryname>
                                <optiontype>boolean</optiontype>
@@ -1687,5 +1682,6 @@ DESC:wcf.global.sortOrder.descending</selectoptions>
                <option name="blacklist_ip_addresses"/>
                <option name="blacklist_user_agents"/>
                <option name="module_system_recaptcha"/>
+               <option name="profile_mail_use_captcha"/>
        </delete>
 </data>
index 245557667e394159fb7f5fe76e3342ccb04e2992..2728c285d37dae2f0b828b5f17a5b91b8a63eb92 100644 (file)
@@ -79,7 +79,6 @@
 \define('CAPTCHA_TYPE', 'com.woltlab.wcf.recaptcha');
 \define('REGISTER_USE_CAPTCHA', 1);
 \define('LOST_PASSWORD_USE_CAPTCHA', 1);
-\define('PROFILE_MAIL_USE_CAPTCHA', 1);
 \define('SEARCH_USE_CAPTCHA', 1);
 \define('RECAPTCHA_PUBLICKEY', '');
 \define('RECAPTCHA_PRIVATEKEY', '');
index eb856ce77fa0eb7dee162dda3f2f98cae60be115..0e67e539e00a25bd876afec8c31a13d747d5ad8e 100644 (file)
@@ -478,6 +478,9 @@ class WCF
         // https://github.com/WoltLab/WCF/issues/3914
         \define('BLACKLIST_IP_ADDRESSES', '');
         \define('BLACKLIST_USER_AGENTS', '');
+
+        // The captcha option related to the removed MailForm was removed in 5.5.
+        \define('PROFILE_MAIL_USE_CAPTCHA', 1);
     }
 
     /**
index b355187756a552daab37b65876a5749c95db0d43..72eebf448387f0b58b25161ee2ce72a133d0933e 100644 (file)
@@ -1587,7 +1587,6 @@ Bitte {if LANGUAGE_USE_INFORMAL_VARIANT}befolge{else}befolgen Sie{/if} die Anlei
                <item name="wcf.acp.option.captcha_type"><![CDATA[Captcha-Art]]></item>
                <item name="wcf.acp.option.register_use_captcha"><![CDATA[Captcha in Registrierung aktivieren]]></item>
                <item name="wcf.acp.option.lost_password_use_captcha"><![CDATA[Captcha in „Kennwort vergessen“ aktivieren]]></item>
-               <item name="wcf.acp.option.profile_mail_use_captcha"><![CDATA[Captcha in „E-Mail an Benutzer schicken“ aktivieren]]></item>
                <item name="wcf.acp.option.search_use_captcha"><![CDATA[Captcha in Suchfunktion aktivieren]]></item>
                <item name="wcf.acp.option.category.security.antispam.captcha"><![CDATA[Captchas]]></item>
                <item name="wcf.acp.option.category.security.general.authentication"><![CDATA[Benutzer-Authentifikation]]></item>
@@ -5558,5 +5557,6 @@ Benachrichtigungen auf <a href="{link isHtmlEmail=true}{/link}">{PAGE_TITLE|lang
        <item name="wcf.acp.devtools.project.apiVersions.description"/>
        <item name="wcf.acp.style.globals.pageLogo.description"/>
        <item name="wcf.acp.style.globals.pageLogoMobile.description"/>
+       <item name="wcf.acp.option.profile_mail_use_captcha"/>
 </delete>
 </language>
index 14ee578d11bae84aa36600bc715481b522b55a89..39801347d7ec3e34aa4876413832c0d1d5865299 100644 (file)
@@ -1572,7 +1572,6 @@ Please follow the instructions described in <a href="https://www.woltlab.com/art
                <item name="wcf.acp.option.captcha_type"><![CDATA[Captcha Type]]></item>
                <item name="wcf.acp.option.register_use_captcha"><![CDATA[Enable Captcha protection during registration]]></item>
                <item name="wcf.acp.option.lost_password_use_captcha"><![CDATA[Enable Captcha protection for lost password]]></item>
-               <item name="wcf.acp.option.profile_mail_use_captcha"><![CDATA[Enable Captcha protection for send email to user]]></item>
                <item name="wcf.acp.option.search_use_captcha"><![CDATA[Enable Captcha protection for search]]></item>
                <item name="wcf.acp.option.category.security.antispam.captcha"><![CDATA[Captchas]]></item>
                <item name="wcf.acp.option.category.security.general.authentication"><![CDATA[User Authentication]]></item>
@@ -5559,5 +5558,6 @@ your notifications on <a href="{link isHtmlEmail=true}{/link}">{PAGE_TITLE|langu
        <item name="wcf.acp.devtools.project.apiVersions.description"/>
        <item name="wcf.acp.style.globals.pageLogo.description"/>
        <item name="wcf.acp.style.globals.pageLogoMobile.description"/>
+       <item name="wcf.acp.option.profile_mail_use_captcha"/>
 </delete>
 </language>