1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

tag for 4.4.98 fixes #47

This commit is contained in:
czaks 2014-04-20 02:49:25 +02:00
parent a93530e32f
commit 4f5ba1d822

View File

@ -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());