User ->trackforums now defaults to OFF, to save CPU on default installs

This commit is contained in:
moodler
2005-05-01 15:07:52 +00:00
parent d891f2abbd
commit 9e33ce2c2c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1367,7 +1367,7 @@ function main_upgrade($oldversion=0) {
}
if ($oldversion < 2005042400) { // Add user tracking prefs field.
table_column('user', '', 'trackforums', 'int', '4', 'unsigned', '1', 'not null', 'autosubscribe');
table_column('user', '', 'trackforums', 'int', '4', 'unsigned', '0', 'not null', 'autosubscribe');
}
return $result;
+1 -1
View File
@@ -552,7 +552,7 @@ CREATE TABLE `prefix_user` (
`maildisplay` tinyint(2) unsigned NOT NULL default '2',
`htmleditor` tinyint(1) unsigned NOT NULL default '1',
`autosubscribe` tinyint(1) unsigned NOT NULL default '1',
`trackforums` tinyint(1) unsigned NOT NULL default '1',
`trackforums` tinyint(1) unsigned NOT NULL default '0',
`timemodified` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
+1 -1
View File
@@ -1083,7 +1083,7 @@ function main_upgrade($oldversion=0) {
}
if ($oldversion < 2005042400) { // Add user tracking prefs field.
table_column('user', '', 'trackforums', 'int', '4', 'unsigned', '1', 'not null', 'autosubscribe');
table_column('user', '', 'trackforums', 'int', '4', 'unsigned', '0', 'not null', 'autosubscribe');
}
return $result;
+1 -1
View File
@@ -390,7 +390,7 @@ CREATE TABLE prefix_user (
maildisplay integer NOT NULL default '2',
htmleditor integer NOT NULL default '1',
autosubscribe integer NOT NULL default '1',
trackforums integer NOT NULL default '1',
trackforums integer NOT NULL default '0',
timemodified integer NOT NULL default '0'
);