From e8fffbef181bd1b0bcf53bf7d750a137474a7ae9 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 30 Dec 2007 18:19:09 +0000 Subject: [PATCH] Remove obsolete $pref values --- e107_admin/update_routines.php | 6 +++--- e107_files/def_e107_prefs.php | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/e107_admin/update_routines.php b/e107_admin/update_routines.php index f1ad030a1..ce4cd37f2 100644 --- a/e107_admin/update_routines.php +++ b/e107_admin/update_routines.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $ -| $Revision: 1.12 $ -| $Date: 2007-12-18 20:57:37 $ +| $Revision: 1.13 $ +| $Date: 2007-12-30 18:19:08 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -183,7 +183,7 @@ function update_706_to_800($type='') global $sql,$ns, $pref; // List of unwanted $pref values which can go - $obs_prefs = array('frontpage_type','rss_feeds'); + $obs_prefs = array('frontpage_type','rss_feeds', 'log_lvcount', 'zone', 'upload_allowed_filetype', 'real'); // List of DB tables not required (includes a few from 0.6xx) $obs_tables = array('flood', 'headlines', 'stat_info', 'stat_counter', 'stat_last'); diff --git a/e107_files/def_e107_prefs.php b/e107_files/def_e107_prefs.php index 506932206..96e1b9ea5 100644 --- a/e107_files/def_e107_prefs.php +++ b/e107_files/def_e107_prefs.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_files/def_e107_prefs.php,v $ -| $Revision: 1.5 $ -| $Date: 2007-12-07 19:53:27 $ +| $Revision: 1.6 $ +| $Date: 2007-12-30 18:19:09 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -66,7 +66,6 @@ City, State, Country 'sitelanguage' => $pref_language, 'maintainance_flag' => '0', 'time_offset' => '0', - 'log_lvcount' => '10', 'meta_tag' => '', 'user_reg_veri' => '1', 'email_notify' => '0',