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/lib/Command | |
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/lib/Command')
-rw-r--r-- | apps/dav/lib/Command/CreateCalendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 24990352fab..adc86faa190 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -79,7 +79,7 @@ class CreateCalendar extends Command { $dispatcher = \OC::$server->getEventDispatcher(); $name = $input->getArgument('name'); - $caldav = new CalDavBackend($this->dbConnection, $principalBackend, $this->userManager, $random, $dispatcher); + $caldav = new CalDavBackend($this->dbConnection, $principalBackend, $this->userManager, $this->groupManager, $random, $dispatcher); $caldav->createCalendar("principals/users/$user", $name, []); } } |