From c63a6ed89b77d1ed62ebeeeda0682c41d37efd9c Mon Sep 17 00:00:00 2001 From: Michael Vickers Date: Sun, 14 Oct 2018 14:56:26 +0100 Subject: Auto link duplicated tasks --- app/Model/TaskDuplicationModel.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Model') diff --git a/app/Model/TaskDuplicationModel.php b/app/Model/TaskDuplicationModel.php index 2076d0d4..4f5e51b7 100644 --- a/app/Model/TaskDuplicationModel.php +++ b/app/Model/TaskDuplicationModel.php @@ -57,6 +57,7 @@ class TaskDuplicationModel extends Base if ($new_task_id !== false) { $this->tagDuplicationModel->duplicateTaskTags($task_id, $new_task_id); + $this->taskLinkModel->create($new_task_id, $task_id, 4); } return $new_task_id; -- cgit v1.2.3