diff options
author | Frédéric Guillot <fred@kanboard.net> | 2015-01-02 22:14:28 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2015-01-02 22:14:28 -0500 |
commit | 5c6b67bd7605485db2b19a8838838b7c4455e3b6 (patch) | |
tree | 69594e840844bf59cab7cedd83a8a833234690de /app/Controller | |
parent | 0ebdd4ddfd898628cc30e34e55e97f88e5e30a71 (diff) |
Allow project managers to remove tasks
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Base.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php index b5d59640..8a5354aa 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -244,10 +244,6 @@ abstract class Base */ protected function taskLayout($template, array $params) { - if (isset($params['task']) && $this->taskPermission->canRemoveTask($params['task']) === false) { - $params['hide_remove_menu'] = true; - } - $content = $this->template->render($template, $params); $params['task_content_for_layout'] = $content; $params['title'] = $params['task']['project_name'].' > '.$params['task']['title']; |