From 4f67a8da321f9cf83dd36f6928c3bf30f2580ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Thu, 26 Jun 2014 10:07:15 -0300 Subject: [PATCH] Merge pull-request #145 (Json-RPC fix) --- README.markdown | 1 + jsonrpc.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index bada2914d..3355fa167 100644 --- a/README.markdown +++ b/README.markdown @@ -62,6 +62,7 @@ Contributors: - Mathgl67: https://github.com/mathgl67 - Matthieu Keller: https://github.com/maggick - Maxime: https://github.com/EpocDotFr +- Moraxy: https://github.com/moraxy - Nala Ginrut: https://github.com/NalaGinrut - Nekohayo: https://github.com/nekohayo - Olivier Maridat: https://github.com/oliviermaridat diff --git a/jsonrpc.php b/jsonrpc.php index 981fefa27..d2813f2c0 100644 --- a/jsonrpc.php +++ b/jsonrpc.php @@ -10,7 +10,7 @@ use Model\User; use Model\Config; use Model\Category; use Model\Comment; -use Model\Subtask; +use Model\SubTask; use Model\Board; use Model\Action; @@ -20,7 +20,7 @@ $task = new Task($registry->shared('db'), $registry->shared('event')); $user = new User($registry->shared('db'), $registry->shared('event')); $category = new Category($registry->shared('db'), $registry->shared('event')); $comment = new Comment($registry->shared('db'), $registry->shared('event')); -$subtask = new Subtask($registry->shared('db'), $registry->shared('event')); +$subtask = new SubTask($registry->shared('db'), $registry->shared('event')); $board = new Board($registry->shared('db'), $registry->shared('event')); $action = new Action($registry->shared('db'), $registry->shared('event'));