From d75e2fcaa7ac6ce4bfb222e9bc91a85023bf1649 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 10 May 2015 17:39:00 -0400 Subject: Recurring tasks (#847): add unit test --- app/Model/TaskDuplication.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Model') 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) { -- cgit v1.2.3