From: Alexander Ebert Date: Sun, 11 Feb 2018 21:06:55 +0000 (+0100) Subject: Better default values for page visibility X-Git-Tag: 3.1.0_RC_4~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2c8ebb475d8ca01549bcef8c31ae406fbca77c5;p=GitHub%2FWoltLab%2FWCF.git Better default values for page visibility --- diff --git a/com.woltlab.wcf/update_3.1.0.sql b/com.woltlab.wcf/update_3.1.0.sql index 45eb298586..21a0e4b28d 100644 --- a/com.woltlab.wcf/update_3.1.0.sql +++ b/com.woltlab.wcf/update_3.1.0.sql @@ -3,4 +3,4 @@ -- This value isn't valid by definition, but because it is considered to be a true-ish -- value, we can use this to imply an "implicit yes" without breaking any checks. Check -- the PagePackageInstallationPlugin to see what this magic value is good for. -UPDATE wcf1_page SET allowSpidersToIndex = 2; +UPDATE wcf1_page SET allowSpidersToIndex = 2 WHERE pageType = 'system'; diff --git a/com.woltlab.wcf/update_3.1_3.sql b/com.woltlab.wcf/update_3.1_3.sql index 129a0fc8a1..5341a79648 100644 --- a/com.woltlab.wcf/update_3.1_3.sql +++ b/com.woltlab.wcf/update_3.1_3.sql @@ -143,4 +143,5 @@ INSERT INTO wcf1_contact_recipient (recipientID, name, email, isAdministrator, o -- This value isn't valid by definition, but because it is considered to be a true-ish -- value, we can use this to imply an "implicit yes" without breaking any checks. Check -- the PagePackageInstallationPlugin to see what this magic value is good for. -UPDATE wcf1_page SET allowSpidersToIndex = 2; +UPDATE wcf1_page SET allowSpidersToIndex = 1 WHERE pageType <> 'system'; +UPDATE wcf1_page SET allowSpidersToIndex = 2 WHERE pageType = 'system';