summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-12 14:08:10 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-12 14:24:47 +0100
commit23a8c93fd2b4757e5e61297318b2ce7937ab9bb5 (patch)
tree8b1b92aca2a4ba63d8e145925652ce1e065d66d5 /apps/dav
parente7a8be258817f317319900f104d14417806bbc60 (diff)
downloadnextcloud-server-23a8c93fd2b4757e5e61297318b2ce7937ab9bb5.tar.gz
nextcloud-server-23a8c93fd2b4757e5e61297318b2ce7937ab9bb5.zip
Fix ctor call
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/appinfo/app.php2
-rw-r--r--apps/dav/command/createaddressbook.php1
-rw-r--r--apps/dav/command/syncsystemaddressbook.php1
3 files changed, 0 insertions, 4 deletions
diff --git a/apps/dav/appinfo/app.php b/apps/dav/appinfo/app.php
index 9d092d84eb4..f6c74c9c943 100644
--- a/apps/dav/appinfo/app.php
+++ b/apps/dav/appinfo/app.php
@@ -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
);
diff --git a/apps/dav/command/createaddressbook.php b/apps/dav/command/createaddressbook.php
index 7b70cea7f80..4d72c12954f 100644
--- a/apps/dav/command/createaddressbook.php
+++ b/apps/dav/command/createaddressbook.php
@@ -63,7 +63,6 @@ class CreateAddressBook extends Command {
throw new \InvalidArgumentException("User <$user> in unknown.");
}
$principalBackend = new Principal(
- $this->config,
$this->userManager
);
diff --git a/apps/dav/command/syncsystemaddressbook.php b/apps/dav/command/syncsystemaddressbook.php
index 162ab362892..8e04df46098 100644
--- a/apps/dav/command/syncsystemaddressbook.php
+++ b/apps/dav/command/syncsystemaddressbook.php
@@ -57,7 +57,6 @@ class SyncSystemAddressBook extends Command {
*/
protected function execute(InputInterface $input, OutputInterface $output) {
$principalBackend = new Principal(
- $this->config,
$this->userManager
);