r1456: We need to add default settings and custom help to the upgrade script because...
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:09:58 +0000 (00:09 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 12 Mar 2007 00:09:58 +0000 (00:09 +0000)
install/upgrade11.php

index a0e8f7f85b32a5c6a35d1c822efd0e9a4ae83eb5..e5ec4b31c260bc7cec5328c3beb828e7151666cb 100644 (file)
@@ -182,7 +182,11 @@ if ($bugsys->in['mark'] == 5)
 <?php
                        
        $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 . "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 &quot;0&quot; 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();
        
 ?>