summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index d407c17e..5395a5a4 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -2,8 +2,6 @@
namespace Controller;
-use Model\Task as TaskModel;
-
/**
* Project controller
*
@@ -249,7 +247,7 @@ class Project extends Base
if ($valid) {
- if ($this->projectPermission->allowUser($values['project_id'], $values['user_id'], $values['is_owner'])) {
+ if ($this->projectPermission->allowUser($values['project_id'], $values['user_id'])) {
$this->session->flash(t('Project updated successfully.'));
}
else {