summaryrefslogtreecommitdiff
path: root/jsonrpc.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-14 22:44:25 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-14 22:44:25 -0500
commitb081288188bb1744c9d7bd075aa5936e0ccbb9c4 (patch)
tree68008e35eb129f74b9b2a49f6f6076ed02b601c6 /jsonrpc.php
parent1487cb27634161ef558c367150213bc7077e4198 (diff)
Use Pimple instead of Core\Registry and add Monolog for logging
Diffstat (limited to 'jsonrpc.php')
-rw-r--r--jsonrpc.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/jsonrpc.php b/jsonrpc.php
index b81a96e7..d1ef7e6e 100644
--- a/jsonrpc.php
+++ b/jsonrpc.php
@@ -18,23 +18,23 @@ use Model\Action;
use Model\Webhook;
use Model\Notification;
-$config = new Config($registry);
+$config = new Config($container);
$config->setupTranslations();
$config->setupTimezone();
-$project = new Project($registry);
-$projectPermission = new ProjectPermission($registry);
-$task = new Task($registry);
-$taskFinder = new TaskFinder($registry);
-$taskValidator = new TaskValidator($registry);
-$user = new User($registry);
-$category = new Category($registry);
-$comment = new Comment($registry);
-$subtask = new SubTask($registry);
-$board = new Board($registry);
-$action = new Action($registry);
-$webhook = new Webhook($registry);
-$notification = new Notification($registry);
+$project = new Project($container);
+$projectPermission = new ProjectPermission($container);
+$task = new Task($container);
+$taskFinder = new TaskFinder($container);
+$taskValidator = new TaskValidator($container);
+$user = new User($container);
+$category = new Category($container);
+$comment = new Comment($container);
+$subtask = new SubTask($container);
+$board = new Board($container);
+$action = new Action($container);
+$webhook = new Webhook($container);
+$notification = new Notification($container);
$action->attachEvents();
$project->attachEvents();