summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-16 06:33:37 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-16 06:33:37 -0400
commitc8f30550af861b95a1f475069ad8d10960a613b2 (patch)
treec0aedcd61603bdf81a54d30e1a2ce554f9363ab6 /install.php
parent29b10c88db1ba16210e753e1fcf08d702455a674 (diff)
$config['require_ban_view']: Force users to view the "You are banned" page at least once before letting a ban disappear naturally.
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/install.php b/install.php
index 1447c723..71d1c910 100644
--- a/install.php
+++ b/install.php
@@ -1,7 +1,7 @@
<?php
// Installation/upgrade file
-define('VERSION', 'v0.9.6-dev-7');
+define('VERSION', 'v0.9.6-dev-8');
require 'inc/functions.php';
@@ -227,6 +227,8 @@ if (file_exists($config['has_installed'])) {
query(sprintf("CREATE INDEX `thread_id` ON `posts_%s` (`thread`, `id`)", $_board['uri'])) or error(db_error());
query(sprintf("ALTER TABLE `posts_%s` DROP INDEX `thread`", $_board['uri'])) or error(db_error());
}
+ case 'v0.9.6-dev-7':
+ query("ALTER TABLE `bans` ADD `seen` BOOLEAN NOT NULL") or error(db_error());
case false:
// Update version number
file_write($config['has_installed'], VERSION);