From c49d46718a07afeea017aa90a60320587211dc49 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 22 Nov 2014 18:49:34 -0500 Subject: Some refactoring for PHP 5.3 --- scripts/create-random-tasks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/create-random-tasks.php b/scripts/create-random-tasks.php index 08aa01dd..2b3d4eb6 100755 --- a/scripts/create-random-tasks.php +++ b/scripts/create-random-tasks.php @@ -3,7 +3,7 @@ require __DIR__.'/../app/common.php'; -use Model\Task; +use Model\TaskCreation; use Model\SubTask; use Model\Project; use Model\ProjectPermission; @@ -14,7 +14,7 @@ $task_per_column = 50; $userModel = new User($container); $projectModel = new Project($container); $permissionModel = new ProjectPermission($container); -$taskModel = new Task($container); +$taskModel = new TaskCreation($container); $subtaskModel = new SubTask($container); for ($i = 0; $i <= 100; $i++) { -- cgit v1.2.3