summaryrefslogtreecommitdiff
path: root/app/Controller/Config.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-13 12:39:49 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-13 12:39:49 -0500
commit567d623446d7e98393fb542c88d6d3b18b05cf6f (patch)
tree5371d19e82be3f11bc5cd8bf931d3425ef90a435 /app/Controller/Config.php
parent5d20b93b3a4a9321c7f1126e005b1dd8cfae7324 (diff)
Add setting option to disable private projects
Diffstat (limited to 'app/Controller/Config.php')
-rw-r--r--app/Controller/Config.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php
index 80522bbe..e811f870 100644
--- a/app/Controller/Config.php
+++ b/app/Controller/Config.php
@@ -26,7 +26,12 @@ class Config extends Base
$values += array('password_reset' => 0);
break;
case 'project':
- $values += array('subtask_restriction' => 0, 'subtask_time_tracking' => 0, 'cfd_include_closed_tasks' => 0);
+ $values += array(
+ 'subtask_restriction' => 0,
+ 'subtask_time_tracking' => 0,
+ 'cfd_include_closed_tasks' => 0,
+ 'disable_private_project' => 0,
+ );
break;
case 'integrations':
$values += array('integration_gravatar' => 0);