From 8142d43057939265d15317bc051ff149553ca727 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 25 Jul 2015 13:02:20 -0400 Subject: Add settings to disable subtask timer and another to not include closed tasks into CFD --- app/Schema/Mysql.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'app/Schema/Mysql.php') diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index c62f3a72..47fb806e 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -6,7 +6,13 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 80; +const VERSION = 81; + +function version_81($pdo) +{ + $pdo->exec("INSERT INTO settings VALUES ('subtask_time_tracking', '1')"); + $pdo->exec("INSERT INTO settings VALUES ('cfd_include_closed_tasks', '1')"); +} function version_80($pdo) { -- cgit v1.2.3