]> wagnertech.de Git - timetracker.git/blobdiff - mobile/project_add.php
A bit more refactoring for subgroups.
[timetracker.git] / mobile / project_add.php
index aa3e40f73c5b5a7418f250d528749d88b41af6a0..98f7c064b86d1e06babe056b76d0b2fa9cc1d292 100644 (file)
@@ -77,10 +77,7 @@ if ($request->isPost()) {
 
   if ($err->no()) {
     if (!ttProjectHelper::getProjectByName($cl_name)) {
-      if (ttProjectHelper::insert(array(
-        'group_id' => $user->getGroup(),
-        'org_id' => $user->org_id,
-        'name' => $cl_name,
+      if (ttProjectHelper::insert(array('name' => $cl_name,
         'description' => $cl_description,
         'users' => $cl_users,
         'tasks' => $cl_tasks,