]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adjust ctor call
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:30:53 +0000 (14:30 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 18 Jan 2016 21:15:17 +0000 (22:15 +0100)
apps/dav/appinfo/application.php

index 3fce53b48bb63bbd8c9c5a44aef3c747ef27228a..b681e273b598d8c2fad9bc0d7b289068f84164e7 100644 (file)
@@ -67,7 +67,8 @@ class Application extends App {
                        $db = $c->getServer()->getDatabaseConnection();
                        $logger = $c->getServer()->getLogger();
                        $principal = new \OCA\DAV\Connector\Sabre\Principal(
-                               $c->getServer()->getUserManager()
+                               $c->getServer()->getUserManager(),
+                               $c->getServer()->getGroupManager()
                        );
                        return new \OCA\DAV\CardDAV\CardDavBackend($db, $principal, $logger);
                });