diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-15 22:35:56 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-15 22:35:56 +0200 |
commit | e1ddf7f0127e9745f94e5ff9f76ea828e9058720 (patch) | |
tree | 46ae9b2397162cff54813dd840c340e85aaf53fe /jsonrpc.php | |
parent | 5f962bf4cd7ef69f2a0873cbebdce83d35b086a5 (diff) |
Run unit tests across different database backends + fix bugs
Diffstat (limited to 'jsonrpc.php')
-rw-r--r-- | jsonrpc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jsonrpc.php b/jsonrpc.php index f6a2da45..71795a60 100644 --- a/jsonrpc.php +++ b/jsonrpc.php @@ -1,7 +1,6 @@ <?php require __DIR__.'/app/common.php'; -require __DIR__.'/vendor/JsonRPC/Server.php'; use Core\Translator; use JsonRPC\Server; @@ -175,7 +174,7 @@ $server->register('getTask', function($task_id) use ($task) { return $task->getById($task_id); }); -$server->register('getAllTasks', function($project_id, array $status) use ($task) { +$server->register('getAllTasks', function($project_id, $status) use ($task) { return $task->getAll($project_id, $status); }); |