diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-18 16:39:03 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-22 17:13:34 +0100 |
commit | e69a09756b17009ebe76862cf92f6494487ae8cc (patch) | |
tree | 97f6ac37ee51503e2aa77bdd067194493fb46a5c /apps/files_sharing/appinfo/routes.php | |
parent | 52826d0e24b354a38220a904fd21bb1860c70870 (diff) | |
download | nextcloud-server-e69a09756b17009ebe76862cf92f6494487ae8cc.tar.gz nextcloud-server-e69a09756b17009ebe76862cf92f6494487ae8cc.zip |
Respect disabled group sharing in sharee endpoint
* Fix tests
Diffstat (limited to 'apps/files_sharing/appinfo/routes.php')
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 961206079be..80632f0fedf 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -126,7 +126,8 @@ $sharees = new \OCA\Files_Sharing\API\Sharees(\OC::$server->getGroupManager(), \OC::$server->getUserSession(), \OC::$server->getURLGenerator(), \OC::$server->getRequest(), - \OC::$server->getLogger()); + \OC::$server->getLogger(), + \OC::$server->getShareManager()); API::register('get', '/apps/files_sharing/api/v1/sharees', |