From e59be3dc021e81babaacf70661737cbba42c80cc Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 15:39:39 -0500 Subject: Add default project categories in settings --- app/Model/Project.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Model/Project.php') 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; -- cgit v1.2.3