User ->trackforums now defaults to OFF, to save CPU on default installs
This commit is contained in:
+1
-1
@@ -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
@@ -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`),
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user