From 92e38c3a1b41a4adda395aa89122af2547f8cebc Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 12 Mar 2007 00:09:58 +0000 Subject: [PATCH] r1456: We need to add default settings and custom help to the upgrade script because we added them in avalon --- install/upgrade11.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/upgrade11.php b/install/upgrade11.php index a0e8f7f..e5ec4b3 100644 --- a/install/upgrade11.php +++ b/install/upgrade11.php @@ -182,7 +182,11 @@ if ($bugsys->in['mark'] == 5) 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 . "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(); build_settings(); ?> -- 2.22.5