]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ctor call
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:08:10 +0000 (14:08 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:24:47 +0000 (14:24 +0100)
apps/dav/appinfo/app.php
apps/dav/command/createaddressbook.php
apps/dav/command/syncsystemaddressbook.php

index 9d092d84eb4ca222cf4af42a526ee764527c2b15..f6c74c9c943c89519166d40e372c47d904ff91c2 100644 (file)
@@ -25,12 +25,10 @@ use OCA\DAV\Connector\Sabre\Principal;
 
 \OC::$server->registerService('CardDAVSyncService', function() {
 
-       $config = \OC::$server->getConfig();
        $userManager = \OC::$server->getUserManager();
        $dbConnection = \OC::$server->getDatabaseConnection();
 
        $principalBackend = new Principal(
-               $config,
                $userManager
        );
 
index 7b70cea7f80515ade21df363dd934d5c1ff12a62..4d72c12954f8c62c668eafa854a76edcfcaba965 100644 (file)
@@ -63,7 +63,6 @@ class CreateAddressBook extends Command {
                        throw new \InvalidArgumentException("User <$user> in unknown.");
                }
                $principalBackend = new Principal(
-                               $this->config,
                                $this->userManager
                );
 
index 162ab36289200bbc9fca24c884abbdc5323fc8b8..8e04df460987d577e9f89fb8a0acbb40cc774388 100644 (file)
@@ -57,7 +57,6 @@ class SyncSystemAddressBook extends Command {
         */
        protected function execute(InputInterface $input, OutputInterface $output) {
                $principalBackend = new Principal(
-                               $this->config,
                                $this->userManager
                );