summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-20 02:49:25 +0200
committerczaks <marcin@6irc.net>2014-04-20 02:49:25 +0200
commit4f5ba1d822a06747c950091aa81117d7dd7b2017 (patch)
treeafceca5fdb5b03b2edf6595663f70809f048bfa2 /install.php
parenta93530e32f0b0022b48ca5804b99ed564088fb20 (diff)
tag for 4.4.98 fixes #47vichan-4.4.98
Diffstat (limited to 'install.php')
-rw-r--r--install.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/install.php b/install.php
index 5a4a9ef8..16ef9fcb 100644
--- a/install.php
+++ b/install.php
@@ -1,7 +1,7 @@
<?php
// Installation/upgrade file
-define('VERSION', '4.4.98-pre');
+define('VERSION', '4.4.98');
require 'inc/functions.php';
@@ -518,6 +518,9 @@ if (file_exists($config['has_installed'])) {
break;
}
+ case '4.4.98-pre':
+ if (!$twig) load_twig();
+ $twig->clearCacheFiles();
case false:
// TODO: enhance Tinyboard -> vichan upgrade path.
query("CREATE TABLE IF NOT EXISTS ``search_queries`` ( `ip` varchar(39) NOT NULL, `time` int(11) NOT NULL, `query` text NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=utf8;") or error(db_error());