diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 15:32:35 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 15:32:35 -0400 |
commit | 4061927d215c846ff8eb196301bf61532018042b (patch) | |
tree | 0e14a0e458ee8739754f75f8c158cc42a9b593a4 /kanboard | |
parent | b7060b33ef317eeac576c504b1fb840d4471e411 (diff) |
Move some Task model methods to the TaskFinder class
Diffstat (limited to 'kanboard')
-rwxr-xr-x | kanboard | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ use Core\Cli; use Core\Tool; use Model\Config; use Model\Task; +use Model\TaskFinder; use Model\TaskExport; use Model\Notification; @@ -47,7 +48,7 @@ $cli->register('export-csv', function() use ($cli, $registry) { $cli->register('send-notifications-due-tasks', function() use ($cli, $registry) { $notificationModel = new Notification($registry); - $taskModel = new Task($registry); + $taskModel = new TaskFinder($registry); $tasks = $taskModel->getOverdueTasks(); // Group tasks by project |