summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/routes.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-18 16:39:03 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-22 17:13:34 +0100
commite69a09756b17009ebe76862cf92f6494487ae8cc (patch)
tree97f6ac37ee51503e2aa77bdd067194493fb46a5c /apps/files_sharing/appinfo/routes.php
parent52826d0e24b354a38220a904fd21bb1860c70870 (diff)
downloadnextcloud-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.php3
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',