diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-10 17:39:00 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-10 17:39:00 -0400 |
commit | d75e2fcaa7ac6ce4bfb222e9bc91a85023bf1649 (patch) | |
tree | 192364b616ebbe3f1f46f6a129d50e8cff096be8 /app/Model/TaskDuplication.php | |
parent | 6f77a4033f7feb2785e0e242d50b78e824c892cd (diff) |
Recurring tasks (#847): add unit test
Diffstat (limited to 'app/Model/TaskDuplication.php')
-rwxr-xr-x | app/Model/TaskDuplication.php | 6 |
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) { |