Move some Task model methods to the TaskFinder class
This commit is contained in:
3
kanboard
3
kanboard
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user