Fix minor issues

This commit is contained in:
Frederic Guillot
2015-10-11 12:27:00 -04:00
parent ee4464912d
commit 48a2cfc741
2 changed files with 2 additions and 4 deletions

View File

@@ -30,8 +30,6 @@ class Taskstatus extends Base
public function open()
{
$task = $this->getTask();
$redirect = $this->request->getStringParam('redirect');
$this->changeStatus($task, 'open', t('Task opened successfully.'), t('Unable to open this task.'));
$this->renderTemplate($task, 'task_status/open');
}