summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-21 11:45:20 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-21 11:45:20 +0200
commit6f212bbc31886ce64a17b696a58c56c39a74a044 (patch)
tree69cb3fcb151b87f6978bea5a26ae22cf8c79bded /lib/kolab_api_controller.php
parenteb12c40fda7cf6de4fddef4e92cc0e462ffb82d7 (diff)
downloadwebadmin-6f212bbc31886ce64a17b696a58c56c39a74a044.tar.gz
Add the new services to the controller
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index e984c42..bdbc707 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -66,6 +66,8 @@ class kolab_api_controller
$this->add_service('resource', 'kolab_api_service_resource');
$this->add_service('resources', 'kolab_api_service_resources');
$this->add_service('roles', 'kolab_api_service_roles');
+ $this->add_service('role', 'kolab_api_service_role');
+ $this->add_service('role_types', 'kolab_api_service_role_types');
$this->add_service('user_types', 'kolab_api_service_user_types');
$this->add_service('user', 'kolab_api_service_user');
$this->add_service('users', 'kolab_api_service_users');
@@ -89,6 +91,8 @@ class kolab_api_controller
*/
public function get_service($service)
{
+ //console("Obtaining service $service");
+
// we are the system!
if ($service == 'system') {
return $this;