summaryrefslogtreecommitdiff
path: root/app/Model/TaskDuplication.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-10 17:39:00 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-10 17:39:00 -0400
commitd75e2fcaa7ac6ce4bfb222e9bc91a85023bf1649 (patch)
tree192364b616ebbe3f1f46f6a129d50e8cff096be8 /app/Model/TaskDuplication.php
parent6f77a4033f7feb2785e0e242d50b78e824c892cd (diff)
Recurring tasks (#847): add unit test
Diffstat (limited to 'app/Model/TaskDuplication.php')
-rwxr-xr-xapp/Model/TaskDuplication.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Model/TaskDuplication.php b/app/Model/TaskDuplication.php
index 42777335..afcac4c7 100755
--- a/app/Model/TaskDuplication.php
+++ b/app/Model/TaskDuplication.php
@@ -174,10 +174,10 @@ class TaskDuplication extends Base
/**
* Calculate new due date for new recurrence task
*
- * @access private
- * @param array $values
+ * @access public
+ * @param array $values Task fields
*/
- private function calculateRecurringTaskDueDate(array &$values)
+ public function calculateRecurringTaskDueDate(array &$values)
{
if (! empty($values['date_due']) && $values['recurrence_factor'] != 0) {