diff options
author | Joas Schilling <coding@schilljs.com> | 2017-10-05 12:32:46 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-10-05 12:48:10 +0200 |
commit | 3b4ab6560b1195a8ebd1d0627e142e440b644f1a (patch) | |
tree | 0948dd837b8e6464b8e2bfa9db83796757f74fbd /apps/dav/appinfo/v1 | |
parent | 9ba51247f0ab65e8e92763508a9ba3c53f275fab (diff) | |
download | nextcloud-server-3b4ab6560b1195a8ebd1d0627e142e440b644f1a.tar.gz nextcloud-server-3b4ab6560b1195a8ebd1d0627e142e440b644f1a.zip |
Check if the user/group exists for dav shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r-- | apps/dav/appinfo/v1/caldav.php | 2 | ||||
-rw-r--r-- | apps/dav/appinfo/v1/carddav.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index bd9de775f44..b005ec2fcb8 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -49,7 +49,7 @@ $db = \OC::$server->getDatabaseConnection(); $userManager = \OC::$server->getUserManager(); $random = \OC::$server->getSecureRandom(); $dispatcher = \OC::$server->getEventDispatcher(); -$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, $random, $dispatcher, true); +$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, \OC::$server->getGroupManager(), $random, $dispatcher, true); $debugging = \OC::$server->getConfig()->getSystemValue('debug', false); diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index 8dea6684742..74003f11c9b 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -48,7 +48,7 @@ $principalBackend = new Principal( 'principals/' ); $db = \OC::$server->getDatabaseConnection(); -$cardDavBackend = new CardDavBackend($db, $principalBackend, \OC::$server->getUserManager(), \OC::$server->getEventDispatcher()); +$cardDavBackend = new CardDavBackend($db, $principalBackend, \OC::$server->getUserManager(), \OC::$server->getGroupManager(), \OC::$server->getEventDispatcher()); $debugging = \OC::$server->getConfig()->getSystemValue('debug', false); |