diff options
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']; |