diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-22 18:49:34 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-22 18:49:34 -0500 |
commit | c49d46718a07afeea017aa90a60320587211dc49 (patch) | |
tree | 68499594b8d2f6a26411249aaff12b87b4ee3628 /scripts | |
parent | 77e10d25829f3523a168bf61424fac99a539f8be (diff) |
Some refactoring for PHP 5.3
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-random-tasks.php | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |