summaryrefslogtreecommitdiff
path: root/app/Model/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 15:39:39 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 15:39:39 -0500
commite59be3dc021e81babaacf70661737cbba42c80cc (patch)
tree76fd26ca5ce17261927917699b6fb4e689df054e /app/Model/Project.php
parentbcbc1b78c67860a1037e77a97c260899611adcdc (diff)
Add default project categories in settings
Diffstat (limited to 'app/Model/Project.php')
-rw-r--r--app/Model/Project.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/Project.php b/app/Model/Project.php
index 9c0adee9..278fe6ab 100644
--- a/app/Model/Project.php
+++ b/app/Model/Project.php
@@ -298,6 +298,8 @@ class Project extends Base
$this->projectPermission->allowUser($project_id, $user_id);
}
+ $this->category->createDefaultCategories($project_id);
+
$this->db->closeTransaction();
return (int) $project_id;