diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-06 14:54:31 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-16 14:40:01 +0100 |
commit | 61425b7621973faadafe070175e51278acb2e159 (patch) | |
tree | a42e140b62ddf205868cfbdfed3ac49816b481c5 /apps/provisioning_api/appinfo | |
parent | a03b1f1ee9a5b641544847d0efd22b29e2e41b30 (diff) | |
download | nextcloud-server-61425b7621973faadafe070175e51278acb2e159.tar.gz nextcloud-server-61425b7621973faadafe070175e51278acb2e159.zip |
Moved grouptest over to pure unit tests
Diffstat (limited to 'apps/provisioning_api/appinfo')
-rw-r--r-- | apps/provisioning_api/appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php index dcf18e0e53b..db7dc0d5b42 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -51,7 +51,8 @@ API::register('get', '/cloud/users/{userid}/subadmins', [$users, 'getUserSubAdmi // Groups $groups = new \OCA\Provisioning_API\Groups( \OC::$server->getGroupManager(), - \OC::$server->getUserSession() + \OC::$server->getUserSession(), + \OC::$server->getRequest() ); API::register('get', '/cloud/groups', [$groups, 'getGroups'], 'provisioning_api', API::SUBADMIN_AUTH); API::register('post', '/cloud/groups', [$groups, 'addGroup'], 'provisioning_api', API::SUBADMIN_AUTH); |