From 954bed954f6c81cbcdb217966dcc9e008e7dd149 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 4 Sep 2014 20:14:26 -0700 Subject: Task move position refactoring --- jsonrpc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jsonrpc.php') diff --git a/jsonrpc.php b/jsonrpc.php index c645650f..22b44df6 100644 --- a/jsonrpc.php +++ b/jsonrpc.php @@ -146,6 +146,10 @@ $server->register('removeTask', function($task_id) use ($task) { return $task->remove($task_id); }); +$server->register('moveTaskPosition', function($project_id, $task_id, $column_id, $position) use ($task) { + return $task->movePosition($project_id, $task_id, $column_id, $position); +}); + /** * User procedures -- cgit v1.2.3