diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-16 18:00:03 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-16 18:00:03 +0100 |
commit | 5ec64c4fd7f087027ef945c4d694de1d90bbd814 (patch) | |
tree | 6168feaab46a19d2f00ac8a8ccb0cb2e5aa00c47 /apps/provisioning_api/appinfo | |
parent | 854f9dbea701e7c825e5ac8c5122f8bed8e696fa (diff) | |
parent | 61425b7621973faadafe070175e51278acb2e159 (diff) | |
download | nextcloud-server-5ec64c4fd7f087027ef945c4d694de1d90bbd814.tar.gz nextcloud-server-5ec64c4fd7f087027ef945c4d694de1d90bbd814.zip |
Merge pull request #20292 from owncloud/provisioning_api_group_unittest
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 d2cba549846..22a923f5c20 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); |