Browse Source

! And let's get the upgrader cleaning that up.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
aeefa93b80
3 changed files with 3 additions and 3 deletions
  1. 1 1
      other/upgrade_2-1_mysql.sql
  2. 1 1
      other/upgrade_2-1_postgresql.sql
  3. 1 1
      other/upgrade_2-1_sqlite.sql

+ 1 - 1
other/upgrade_2-1_mysql.sql

@@ -449,7 +449,7 @@ WHERE variable LIKE 'integrate_%';
 /******************************************************************************/
 ---# Showing contact details to guests should never happen.
 DELETE FROM {$db_prefix}settings
-WHERE variable = 'guest_hideContacts';
+WHERE variable IN ('enableStickyTopics', 'guest_hideContacts');
 ---#
 
 /******************************************************************************/

+ 1 - 1
other/upgrade_2-1_postgresql.sql

@@ -512,7 +512,7 @@ WHERE variable LIKE 'integrate_%';
 /******************************************************************************/
 ---# Showing contact details to guests should never happen.
 DELETE FROM {$db_prefix}settings
-WHERE variable = 'guest_hideContacts';
+WHERE variable IN ('enableStickyTopics', 'guest_hideContacts');
 ---#
 
 /******************************************************************************/

+ 1 - 1
other/upgrade_2-1_sqlite.sql

@@ -502,7 +502,7 @@ WHERE variable LIKE 'integrate_%';
 /******************************************************************************/
 ---# Showing contact details to guests should never happen.
 DELETE FROM {$db_prefix}settings
-WHERE variable = 'guest_hideContacts';
+WHERE variable IN ('enableStickyTopics', 'guest_hideContacts');
 ---#
 
 /******************************************************************************/