From fd2765b5bdb7b58fb0b4336bb4eae36f1d19a2ba Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 12 Mar 2007 00:17:02 +0000 Subject: [PATCH] r1457: We needed to reexport the settings because 'userid' isn't a valid column option --- install/settings.php | 4 ++-- install/upgrade11.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/settings.php b/install/settings.php index 266f910..d2ee4d0 100644 --- a/install/settings.php +++ b/install/settings.php @@ -27,7 +27,7 @@ $settings = array( 'moderatenewusers' => '0', 'webmasteremail' => 'noreply@bluestatic.org', 'trackertitle' => 'Avalon Development Tracker', - 'trackerversion' => '[#]version[#]', + 'trackerversion' => '1.2.0 Beta 1', 'defaultcomment' => '', 'sendwelcomemail' => '1', 'authmethod' => 'default', @@ -50,7 +50,7 @@ $settings = array( 'defaultsortkey' => 'lastpost', 'defaultsortas' => 'desc', 'defaulttimezone' => '0', - 'columnoptions' => 'a:12:{s:5:"bugid";s:1:"1";s:7:"summary";s:1:"2";s:6:"userid";s:1:"2";s:7:"product";s:1:"3";s:9:"component";s:1:"0";s:7:"version";s:1:"3";s:6:"status";s:1:"4";s:10:"resolution";s:1:"4";s:8:"priority";s:1:"5";s:8:"severity";s:1:"5";s:8:"lastpost";s:1:"6";s:5:"votes";s:1:"0";}', + 'columnoptions' => 'a:12:{s:5:"bugid";s:1:"1";s:7:"summary";s:1:"2";s:8:"reporter";s:1:"2";s:7:"product";s:1:"3";s:9:"component";s:1:"0";s:7:"version";s:1:"3";s:6:"status";s:1:"4";s:10:"resolution";s:1:"4";s:8:"priority";s:1:"5";s:8:"severity";s:1:"5";s:8:"lastpost";s:1:"6";s:5:"votes";s:1:"0";}', 'redirectheaders' => '0', ); diff --git a/install/upgrade11.php b/install/upgrade11.php index e5ec4b3..1985890 100644 --- a/install/upgrade11.php +++ b/install/upgrade11.php @@ -183,7 +183,7 @@ if ($bugsys->in['mark'] == 5) $db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.2.0 Beta 1' WHERE varname = 'trackerversion'"); $db->query("REPLACE INTO " . TABLE_PREFIX . "setting (varname, value) VALUES ('authmethod', 'default')"); - $db->query("REPLACE INTO " . TABLE_PREFIX . "setting (varname, value) VALUES ('columnoptions', '" . $db->escape_string('a:12:{s:5:"bugid";s:1:"1";s:7:"summary";s:1:"2";s:6:"userid";s:1:"2";s:7:"product";s:1:"3";s:9:"component";s:1:"0";s:7:"version";s:1:"3";s:6:"status";s:1:"4";s:10:"resolution";s:1:"4";s:8:"priority";s:1:"5";s:8:"severity";s:1:"5";s:8:"lastpost";s:1:"6";s:5:"votes";s:1:"0";}') . "')"); + $db->query("REPLACE INTO " . TABLE_PREFIX . "setting (varname, value) VALUES ('columnoptions', '" . $db->escape_string('a:12:{s:5:"bugid";s:1:"1";s:7:"summary";s:1:"2";s:8:"reporter";s:1:"2";s:7:"product";s:1:"3";s:9:"component";s:1:"0";s:7:"version";s:1:"3";s:6:"status";s:1:"4";s:10:"resolution";s:1:"4";s:8:"priority";s:1:"5";s:8:"severity";s:1:"5";s:8:"lastpost";s:1:"6";s:5:"votes";s:1:"0";}') . "')"); $db->query("REPLACE INTO " . TABLE_PREFIX . "fieldhelp (keystring, title, body) VALUES ('columnorder', 'Custom Column Ordering', 'You can change the ordering and display of columns on the bug list using these settings. Any column with a position value of "0" will not be displayed in the list. Columns are positioned in the grid with the lowest numbered column starting at the far-left. If columns share a position number, they will be placed in the same column position.')"); build_user_help(); -- 2.43.5