New field for user: autosubscribe

This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.

(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
This commit is contained in:
moodler
2003-05-23 05:32:40 +00:00
parent 4b2b7a7110
commit 7f2a3e678e
8 changed files with 30 additions and 3 deletions
+4
View File
@@ -164,6 +164,10 @@ function main_upgrade($oldversion=0) {
print_simple_box("Thanks for upgrading!<p>There are many changes since the last release. Please read the release notes carefully. If you are using CUSTOM themes you will need to edit them. You will also need to check your site's config.php file.", "center", "50%", "$THEME->cellheading", "20", "noticebox");
}
if ($oldversion < 2003052300) {
table_column("user", "", "autosubscribe", "integer", "1", "unsigned", "1", "", "htmleditor");
}
return $result;
}
?>