diff options
author | Michael Vickers <michaelvickers.uk@gmail.com> | 2018-10-14 14:56:26 +0100 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2018-10-15 17:59:49 -0700 |
commit | c63a6ed89b77d1ed62ebeeeda0682c41d37efd9c (patch) | |
tree | 936b67f04ea1b8d69cb2b18ce0227748f701551e /app/Model | |
parent | 71630aaa77b518d3d0165f772251f09cc249f015 (diff) |
Auto link duplicated tasks
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/TaskDuplicationModel.php | 1 |
1 files changed, 1 insertions, 0 deletions
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; |