summaryrefslogtreecommitdiff
path: root/app/Controller/Taskduplication.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Taskduplication.php')
-rw-r--r--app/Controller/Taskduplication.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Controller/Taskduplication.php b/app/Controller/Taskduplication.php
index 91291b0d..aebbcfc1 100644
--- a/app/Controller/Taskduplication.php
+++ b/app/Controller/Taskduplication.php
@@ -50,7 +50,7 @@ class Taskduplication extends Base
if ($this->request->isPost()) {
$values = $this->request->getValues();
- list($valid, $errors) = $this->taskValidator->validateProjectModification($values);
+ list($valid,) = $this->taskValidator->validateProjectModification($values);
if ($valid && $this->taskDuplication->moveToProject($task['id'],
$values['project_id'],
@@ -81,7 +81,7 @@ class Taskduplication extends Base
if ($this->request->isPost()) {
$values = $this->request->getValues();
- list($valid, $errors) = $this->taskValidator->validateProjectModification($values);
+ list($valid,) = $this->taskValidator->validateProjectModification($values);
if ($valid && $this->taskDuplication->duplicateToProject($task['id'],
$values['project_id'],
@@ -104,6 +104,8 @@ class Taskduplication extends Base
* Choose destination when move/copy task to another project
*
* @access private
+ * @param array $task
+ * @param string $template
*/
private function chooseDestination(array $task, $template)
{