Browse Source

! And lastly the upgrader - and we don't care about importing it from very very old versions.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 10 years ago
parent
commit
9195e546a2

+ 0 - 1
other/upgrade.php

@@ -2070,7 +2070,6 @@ function convertSettingsToTheme()
 		'linktree_link' => @$GLOBALS['curposlinks'],
 		'show_profile_buttons' => @$GLOBALS['profilebutton'],
 		'show_mark_read' => @$GLOBALS['showmarkread'],
-		'show_board_desc' => @$GLOBALS['ShowBDescrip'],
 		'newsfader_time' => @$GLOBALS['fadertime'],
 		'use_image_buttons' => empty($GLOBALS['MenuType']) ? 1 : 0,
 		'enable_news' => @$GLOBALS['enable_news'],

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

@@ -556,6 +556,11 @@ DELETE FROM {$db_prefix}settings
 WHERE variable IN ('enableStickyTopics', 'guest_hideContacts', 'notify_new_registration');
 ---#
 
+---# Cleaning up old theme settings.
+DELETE FROM {$db_prefix}themes
+WHERE variable IN ('show_board_desc');
+---#
+
 /******************************************************************************/
 --- Removing old Simple Machines files we do not need to fetch any more
 /******************************************************************************/

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

@@ -636,6 +636,11 @@ DELETE FROM {$db_prefix}settings
 WHERE variable IN ('enableStickyTopics', 'guest_hideContacts', 'notify_new_registration');
 ---#
 
+---# Cleaning up old theme settings.
+DELETE FROM {$db_prefix}themes
+WHERE variable IN ('show_board_desc');
+---#
+
 /******************************************************************************/
 --- Removing old Simple Machines files we do not need to fetch any more
 /******************************************************************************/

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

@@ -627,6 +627,11 @@ DELETE FROM {$db_prefix}settings
 WHERE variable IN ('enableStickyTopics', 'guest_hideContacts', 'notify_new_registration');
 ---#
 
+---# Cleaning up old theme settings.
+DELETE FROM {$db_prefix}themes
+WHERE variable IN ('show_board_desc');
+---#
+
 /******************************************************************************/
 --- Removing old Simple Machines files we do not need to fetch any more
 /******************************************************************************/